> hm, you should be able to just increase that number in OSGTextureChunk.h 
> (you are using OpenSG 1.x, right?) and recompile. That should allow you 
> to add more textures to a ChunkMaterial or more precisely the State 
> object it holds internally. Every State you create will have that many 
> slots for textures on it, so don't set it to some huge number, because 
> that will just waste memory (something like 32, if the hardware supports 
> that many textures should be ok though).
> I'm not sure if we want to do this change for everyone though. How many 
> textures can hardware handle nowadays?
>
>   
Thank you very much. :)
I have recompiled OpenSG using 32 as max num of slots for texture and it 
seems it is working.
Right now I think that most of mid-high video card can support 32 
texture unit ( as shader samplers...).



------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users

Reply via email to