Updating constant buffer not working as expected #370
Unanswered
Gavin-Williams
asked this question in
Q&A
Replies: 2 comments 2 replies
-
I stumbled on a trick to get graphics diagnostics working (it hasn't been working for a couple of weeks for me) and I can see that the light buffer is actually updating. |
Beta Was this translation helpful? Give feedback.
1 reply
-
When I stepped through the shader running, even though the buffer is being updated, the shader is showing all zeros for LightColor. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have a light buffer, as constructed here...
And I update it like so...
The shader...
This isn't working, the light position is updating, but the light color is not. LightColor values are always 0 in the shader. Can anyone see anything wrong here?
Beta Was this translation helpful? Give feedback.
All reactions