[GEM-dev] texunit 8 (bug)

marius schebella marius.schebella at gmail.com
Sat Mar 29 21:35:50 CET 2008


hi,
I wonder if the limitation to 8 texunits is correct. I know that there 
is a limitation of 8 textures per glsl shader, but I can load the same 
shader 9 times and have 9 different textures (one for each shader).
if I send a texunit 0-7 to pix_texture that only allows me to reference 
8 different textures total.
I think it should work like
Mytex 17
where 17 is the texture ID that is spit out of the right outlet of a 
pix_texture object.
with the texunit method I am running into bad limitations.
any solution for that?
marius.




More information about the GEM-dev mailing list