I have been looking into creating cg shaders, and am dissecting the example distributed with Panda3D. As I am new to Panda I have many questions, but the main one that has come up pertains to the texturing of 3d models.
From my understanding the Panda3D egg format used does not contain texture data, only a referenced path to the texture.
In the Glow Filter Example a Tron-inspired model is used. Looking at the .egg file I see this model uses a texture file: tronally.png. This is the only image file in the Tron subdirectory of the Example.
The cg shaders provided seem to use the tronally.png texture to define where to put the glow/blur effect. I have opened up this image in photoshop and it consists of only blue lines and an alpha map. However the model being displayed has what must be a second texture that has the face and wrinkly pattern displayed on the body.
My question is: where is this texture coming from? Where is it stored and what part of the program is loading it becuase I find no reference to any other texture aside from the “tronally.png” and that is listed in the text of the tron.egg file itself.
I feel like the answer is right infront of my face but I just can’t see it. Any help would be great.