Replies: 1 comment
-
Almost all examples use |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have written the following code using bgfx. I used bgfx::setViewTransform to set the view and projection matrices. However, the 'u_modelViewProj' variable in the shader seems to always be 0, indicating that bgfx::setViewTransform doesn't seem to be taking effect. I have also written my own uniform for the MVP matrix and binding it using bgfx::setUniform works correctly. Have I used it incorrectly? Below is my code.
Beta Was this translation helpful? Give feedback.
All reactions