Part of the Khronos Group
OpenGL.org

The Industry's Foundation for High Performance Graphics

from games to virtual reality, mobile phones to supercomputers

Results 1 to 3 of 3

Thread: gl_TextureMatrix on NV

  1. #1

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

  2. #2
    Junior Member Regular Contributor
    Join Date
    May 2003
    Location
    Germany
    Posts
    232

    Re: gl_TextureMatrix on NV

    You need to tell your shader what texture matrix you acutally want to use, for example :
    Code :
    coord=gl_TextureMatrix[0] * gl_MultiTexCoord0;
    For the texture matrix of the first TMU.

  3. #3

    Re: gl_TextureMatrix on NV

    doh ... stupid me ... thanks.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •