Panda3D Manual: Texture OrderWhen there are multiple textures in effect, depending on the Texture Blend Mode in use, it may be important to control the order in which the textures apply. For instance, although Modulate mode and Add mode are order-independent, texture order makes a big difference to Decal mode, Replace mode, and Blend mode. To specify the texture order, use Also, since some hardware might not be able to render all of the TextureStages that you have defined on a particular node, Panda provides a way for you to specify which texture(s) are the most important. Use The priority value is only consulted when you have applied more TextureStages to a particular node than your current hardware can render. In this case, Panda will select the n textures with the highest priority value (and then sort them in order by the set_sort() value). Between two textures with the same priority, Panda will prefer the one with the lower sort value. The default priority is 0. © Carnegie Mellon University 2010 |