What are reserved variable names in GLSL?
satya - Mon Jul 23 2012 15:22:41 GMT-0400 (Eastern Daylight Time)
GLSL built-in variables, ex: gl_position
GLSL built-in variables, ex: gl_position
satya - Mon Jul 23 2012 15:23:44 GMT-0400 (Eastern Daylight Time)
aha found it: here is the spec link
satya - Mon Jul 23 2012 15:24:13 GMT-0400 (Eastern Daylight Time)
No user defined variable may start with 'gl_'
No user defined variable may start with 'gl_'
satya - Mon Jul 23 2012 16:15:42 GMT-0400 (Eastern Daylight Time)
Vertex shader special output variables
Vertex shader special output variables
satya - Mon Jul 23 2012 16:16:33 GMT-0400 (Eastern Daylight Time)
couple of examples
gl_position
gl_pointSize
etc.
satya - Mon Jul 23 2012 17:12:52 GMT-0400 (Eastern Daylight Time)
built in input variables
gl_vertex
gl_color
etc..
satya - Mon Jul 23 2012 17:13:22 GMT-0400 (Eastern Daylight Time)
how do you pass built in input variables in opengl???
how do you pass built in input variables in opengl???
Search for: how do you pass built in input variables in opengl???
satya - Tue Aug 14 2012 16:41:15 GMT-0400 (Eastern Daylight Time)
See this link about compatibility and errors