[GEM-dev] help with glsl abstractions

Jack jack at rybn.org
Mon Sep 2 13:56:26 CEST 2013


Le 02/09/2013 12:41, Nicolas Montgermont a écrit :
>
> Le 01/09/13 11:31, Jack a écrit :
>> number of texunit available is return by
>> GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS.
>> Here on Intel HD 4000, GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS is 32.
>> And on NVidia GTX660M is 160.
> Mmmm, here creating
> [GLdefine GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS]
> and banging it gives:
> 35661...
> did I miss something obvious?
> osx10.6.8 nvidia geforce 320m
>
> Thanks,
> n
>
Hello Nico,

Use the message [print( on [glsl_vertex] to get the appropriate number.
++

Jack





More information about the GEM-dev mailing list