PDA

View Full Version : vec3 R; int i = 2; R[i] .. will it be supported ???



andreasMank
05-27-2004, 03:37 AM
.. will indexed access to variables be supported ?? ..

Adruab
05-27-2004, 07:57 AM
According to the GLSL spec you should (issue 16

Adruab
05-27-2004, 07:59 AM
According to the GLSL spec it is available (issue 16, pg 73). This is really necessary since indexing like that is required for skinning (I think...).

Does this not work? If not, does anyone know if they drivers are just missing something.