Game Development Community

Default material mapping

by Tom Spilman · in Torque Game Engine Advanced · 01/20/2005 (3:38 pm) · 3 replies

I haven't looked into this yet, but is there a technical reason why texture names without material datablocks mapped to them don't just automatically create a default one? This seems to be the source of confusion many times (the z fighting effect) and it's a PITA when your just quickly brining in an object to preview it without getting into it's material settings.

About the author

Tom is a programmer and co-owner of Sickhead Games, LLC.


#1
01/20/2005 (11:12 pm)
In many cases if a material is not specified, things will fall back to a simple fixed function implementation. What specific cases are you having trouble with?
#2
01/20/2005 (11:21 pm)
Well if it's not specified the fixed function path gives you some shimmering effects on the those surfaces. I believe Brian said this was caused exactly because those used the fixed function pipeline and the rendering z pass doesn't.
#3
01/23/2005 (3:58 pm)
Ok... i'm dumb. I fixed the real issue over here.