RC1 Bug : No material = Invisible material
by Vincent BILLET · in Torque Game Engine Advanced · 02/11/2007 (2:51 am) · 4 replies
If I use a shape with no material definition, it doesn't render, but it casts shadows. Previous release showed an orange texture.
#2
02/11/2007 (3:04 am)
Do you have your textures in the same directory of your shape? (It's not my case).
#3
02/11/2007 (4:30 am)
I do.
#4
If a material isn't found for an unmapped texture, it will create one for you using that texture. This is to ease porting from TGE and just generally to get stuff rendering in the game more easily. Now, if the texture isn't found (either not there or in some other dir), it will display the warning material.
The "default material" is just basically the one texture and lighting support.
02/12/2007 (4:27 pm)
This is a bug with the "default material" behavior. I just fixed it, but let me explain what it's supposed to do now.If a material isn't found for an unmapped texture, it will create one for you using that texture. This is to ease porting from TGE and just generally to get stuff rendering in the game more easily. Now, if the texture isn't found (either not there or in some other dir), it will display the warning material.
The "default material" is just basically the one texture and lighting support.
Torque Owner Stefan Lundmark