RenderMonkey problem

i use rendermonkey to test my shader,but i do not know how to give value to in variable ,should i use glVertexAttrib(…) here? is there any simple way that i can give value to an in variable?

I’m not quite sure but I think you need to create some kind of input in the render tree on the left side. Take a look at the manual or some example. I’ve done this once but it’s been a while that I do not touch RenderMonkey.

As far as I recall, the in attributes come in the gl_Vertex and other existing attribute registers while the out attributes are declared as varyings.

This topic was automatically closed 183 days after the last reply. New replies are no longer allowed.