change the color of a vertex in a vertex shader

Posted by Soubok on Stack Overflow See other posts from Stack Overflow or by Soubok
Published on 2010-03-31T12:03:58Z Indexed on 2010/04/03 17:43 UTC
Read the original article Hit count: 656

Filed under:
|
|

Is it possible to set the color of a single vertex using a GLSL vertex shader program, in the same way that gl_Position changes the position of a vertex ?

© Stack Overflow or respective owner

Related posts about opengl

Related posts about glsl