gl_TextureMatrix on NV

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)?

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.

doh … stupid me … thanks.

This topic was automatically closed 183 days after the last reply. New replies are no longer allowed.