What is the actual number of vertex uniform components for GLSL shader on ATI graphics card?

前端 未结 1 574
南方客
南方客 2021-02-08 07:48

I\'m writing a GLSL vertex shader for an iMac with a AMD Radeon HD 6970M 2048 MB graphics card:

GL_MAX_VERTEX_ATTRIBS: 16
GL_MAX_VERTEX_UNIFORM_COMPONENTS: 4096
         


        
相关标签:
1条回答
  • 2021-02-08 08:18

    You're right isofar, that you need to divide the 4096 by 4 not multiply. The wiki entry is was worded badly.

    0 讨论(0)
提交回复
热议问题