Game Development Community

Possible bug in the shader render portion of the engine?

by James Brad Barnette · in Torque Game Engine Advanced · 09/21/2007 (7:42 am) · 2 replies

I have been following this thread
www.garagegames.com/mg/forums/result.thread.php?qt=55268
I noticed noticed that he is having the same issue that I'm having.

I unfortunatly cannot confim this on previeous versions of the engine "hard drive died"

But apparently glow does not work on custom materials

Can someone point me in the right direction for fixing this? I'm hoping it is something simple that has only been broken by this build.

So I guess what I need is this...

Is this the case in previous versions as well?

and

if it works in previous versions and somone point me to the offending code and perhaps paste a fix in here?

#1
09/21/2007 (8:03 am)
Looking back through the versions, I don't see any evidence that glow on custom materials worked in any of the TGEA versions from 1.0 to 1.03.

The code very explicitly states in a comment "custom materials don't glow for the moment..." and then skips all glow handling for custom materials. This bit of code is unchanged for all versions going back to 1.0. I don't think glow on custom materials is "broken", but rather "unimplemented". Not much of a distinction really, but I don't think you'll find a fix by looking at old TGEA versions. Instead, you may need to study how glow works on regular materials and see how that might be adapted to custom materials.

I'm also interested in this fix and will post more if I figure something out.
#2
09/21/2007 (12:26 pm)
Thanx Jeff Great help as always.