Thanks for your post robtherich
However the patch is not working yet, it shows the right lighting calculations and the right color, but the bumps appear chaotic, and change at every frame (kind of nice but it is not what I want). I checked the shader code and it looks right…maybe jit.gl.mesh defines the tangents in an inconsistent way?
Another question is, why do you write "state", instead of "value" when defining the parameter tangent?
see attached patch
C74 RSS Feed | © Copyright Cycling '74