PDA

View Full Version : gl_TextureMatrix on NV



eyebex
07-19-2004, 01:21 AM
The following vertex program


(4) : error C1020: invalid operands to "mul"Am I doing something wrong or is this is a bug / limitation of current NV drivers (I'm using 61.12 on a Quadro FX 500)?

PanzerSchreck
07-19-2004, 02:05 AM
You need to tell your shader what texture matrix you acutally want to use, for example :

coord=gl_TextureMatrix[0] * gl_MultiTexCoord0; For the texture matrix of the first TMU.

eyebex
07-20-2004, 01:31 AM
doh ... stupid me ... thanks.