Game Development Community

Odd glow based on size

by Stefan Lundmark · in Torque Game Engine Advanced · 11/15/2004 (2:37 pm) · 4 replies

I've encountered something that looks odd, at least to me. I'm not sure if it is a bug so I'll just post it here for the time being.

The image below shows a screenshot with two glow materials. Let's ignore the two "big glows" for a while we concentrate on the ones in the cieling.

www.innercircledev.net/oddglow.jpg
You see, those up there are the same shaders. Eventho the one to the far right has a much more strong glow. My intention was to have a slight glow like the one in the central.. not like the one to the right.

Is it because the size of the central is larger and thus the glow get's "stretched" out? And getting more solid on the brush to the far right because it's smaller?

Is there a way to get past this? :)

#1
11/15/2004 (2:53 pm)
Hard to tell quite what's going on there. My guess is that it's actually the lighting in the room, since the ceiling and walls in the areas that are "correct" are darker than the wall that's too bright.

To get consistent glow results that aren't based on the lighting, make sure to set the emissive flag to be true for whatever stage of the material you are glowing.
#2
11/15/2004 (4:00 pm)
Ah, that did it. Now the glow is very strong though, I'll have to see if I can find a way to make it less solid.

Thanks Brian.

Edit: Ah, after dwelving trough material.ccp I think I can safely say there is no parameter which you can change to modify the appearance of the glow? Like color and strenght.
#3
11/16/2004 (12:00 pm)
The glow color and strength is just whatever texture you are using, if you want it darker, make the texture darker. The glow shader does multiply the brightness by about 4x though, so make sure it's a LOT darker to see results.
#4
11/17/2004 (6:02 am)
Thanks again Brian.