-
How can I load a &[&[&[f32]]] or similar into a shader? I am aware that you can pass a 2d texture with dimensions (width*depth, height) and manually wrap the sample point, but it would be better to access a true texture_3d |
Beta Was this translation helpful? Give feedback.
Answered by
ElSargo
Mar 29, 2023
Replies: 1 comment
-
Use #[texture(1, dimension = "3d")] |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
ElSargo
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Use
#[texture(1, dimension = "3d")]