Game Development Community

Mounted Weapon Do not Glow

by Playware · in Torque Game Engine Advanced · 08/22/2005 (1:25 am) · 9 replies

Hi

I created a datablock ItemData(CrossbowAmmo) and was able to apply glow effect perfectly fine.
I apply the glow on glow[1] with a texture that I wanted to glow on baseTex[1].

However, ShapeBaseImageData doesn't seems to work.
The moment I mount it to the player. It doesn't glow anymore.
Please advise.

Thanks in advance.

#1
08/22/2005 (4:02 am)
Noticed that too. I need a glow on the scope of one of my weapons, and it does not work when mounted. (nor static) If it's a feature, please change it; if it's our error, please help. :P
#2
08/22/2005 (4:06 am)
Alot of the effects do not have some effects. I suspect its becuase the mounted image is rendered before, and not added to the glow buffer.
#3
08/22/2005 (6:00 pm)
There's a translucency bug that is interfering with the glow right now. I'll post something when it's fixed.
#4
08/22/2005 (6:26 pm)
Thanks for the reply :)
#5
03/02/2006 (1:20 am)
Is there an update on this issue? I am trying to apply a glow effect to a sword in our game and am assuming this is the reason it is not working? Thanks.
#6
03/20/2006 (1:09 pm)
OK, what you need to do is add SceneRenderImages with glow flagged for each mounted image. Look in ShapeBase::prepRenderImage() and ShapeBase::renderObject() to see how to do this.
#7
03/20/2006 (5:47 pm)
@Brian

You mention set glow flagged for each mounted image so do I add it in shapeImage.cpp?
I'm still trying to understand how shapebaseImagedata are rendered.
#8
05/03/2006 (12:38 pm)
Has anyone fixed this?
If not, could you please explain a bit more about the changes we need to do in order to get this to work.
Thank you