Part of the Khronos Group

The Industry's Foundation for High Performance Graphics

from games to virtual reality, mobile phones to supercomputers

Results 1 to 3 of 3

Thread: RenderMonkey problem

  1. #1
    Intern Contributor
    Join Date
    Mar 2011

    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?

  2. #2
    Junior Member Regular Contributor
    Join Date
    Nov 2010
    Brazil, Rio de Janeiro

    Re: RenderMonkey problem

    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.

  3. #3
    Advanced Member Frequent Contributor
    Join Date
    Mar 2009
    Karachi, Pakistan

    Re: RenderMonkey problem

    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.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts