Game Development Community

No glow on projectiles?

by Martin Schultz · in Torque Game Engine Advanced · 02/26/2006 (9:59 pm) · 3 replies

Hi,

I tried to apply the glow shader to projectiles but it seems it doesn't glow at all. First I thought my settings were wrong, but then I used simply the boxtest shape from the TSE demo folder. Funnily all other shaders seem to work, as the textures are animated. I included the boxtest projectile here.

Here's a screenshot of the projectile not glowing at all, although the turbine of the ship shows that glowing at all works.
www.decane.net/gg/subsonic_glow.jpg
Did anyone ever tried to apply the glow shader on projectiles successfully?

Thanks,
Martin

#1
02/26/2006 (10:03 pm)
You should always check the source and search the forums before posting a new thread. Take a look at the Projectile's prepRenderImage method.
#2
02/26/2006 (11:28 pm)
Thanks for the prepRenderImage hint. But why do you assume I didn't check the forums? I'll always do before posting.
#3
02/27/2006 (5:01 am)
Found it. Not sure why I haven't seen it the first time. Anyway, here's written down how to make projectiles glow.