You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
i have a vertex shader that passes the normal of the vertex to the fragment shader. i can confirm that whatever fragNormal is set do does get passed to the fragment shader. the problem is that all the normals are 0,0,0. here are the relevant parts of code:
Can either of you reproduce this with the unstable branch on raylib-rs/raylib-rs (the repo where development happens more often), which adds a closure-based start_shader_mode?
i have a vertex shader that passes the normal of the vertex to the fragment shader. i can confirm that whatever
fragNormal
is set do does get passed to the fragment shader. the problem is that all the normals are0,0,0
. here are the relevant parts of code:drawing geometry:
vertex shader:
The text was updated successfully, but these errors were encountered: