Hi all,
I need to pass to a shader more than 16 textures (the hardware supports 
it). I use to "bind" them using the following command:

  cnkMat->subChunk(texOld , slot_unit);                       
  cnkMat->addChunk(texNew, slot_unit);


The OSG log return me the following message:

  WARNING:  addChunk: index 17 > Numslots 16,  ignored!


Browsing OpenSG source code i found the following define:

   #define osgMaxTexImages 16


Is there any possibility to increase these value? Theorically if the 
hardware support it should be possible but I do not know how to do it in 
OpenSG.
Thank you.

------------------------------------------------------------------------------
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/blackberry
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users

Reply via email to