Problems with reading a textureCube from a computeshader #833
Answered
by
bjornbytes
sebastian-wolter-itk
asked this question in
Q&A
-
I'm trying to do the following:
Leads to:
Anything i am missing here?
|
Beta Was this translation helpful? Give feedback.
Answered by
bjornbytes
Jan 14, 2025
Replies: 1 comment 1 reply
-
Compute shaders use set #0 for resources instead of set 2, e.g. layout(set = 0, binding = 0) uniform sampler mySampler;
// or just
layout(binding = 0) uniform sampler mySampler; Also if you're using a nightly build, the |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
sebastian-wolter-itk
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Compute shaders use set #0 for resources instead of set 2, e.g.
Also if you're using a nightly build, the
layout(set = X, binding = X)
decorations are optional and LÖVR will figure them out automatically.