Game Development Community

MountedImages don't properly handle glow in 1.7.1

by Jeremiah Fulbright · in Torque Game Engine Advanced · 10/08/2008 (2:53 pm) · 5 replies

I did some testing and this seems to not have been fixed in 1.71, but it has been an issue since MS3.

Is there a fix for this coming in in 1.8.0, or maybe somebody already has the needed code fixes? I saw a fix for MS3, but the obvious design changes have made that not an option

#1
10/08/2008 (3:19 pm)
Jeremiah, can you give some more detail? We have no such issues, unless they are difficult to spot, with our mounted images and we use glow on many weapons.
#2
10/08/2008 (4:30 pm)
Hey Stefan,

Here is what I am seeing -

i287.photobucket.com/albums/ll136/byteasc/Core_00000001.jpg

Here is the definition -
new Material(nadelauncher)
{
   mapTo = nadelauncher;

   baseTex[0] = "nadelauncherGlowRrdy_g";
   emissive[0] = true;
   glow[0] = true;

   baseTex[1] = "nadelauncher";
   bumpTex[1] = "nadelauncher_n";

   pixelSpecular[1] = true;
   specular[1] = ".2 .2 .2 100";
   specularPower[1] = 32;
};

It seems as if it could be some weird texture problem, as I changed reference to one of the Interior textures we have which glows okay, and it looked like it was doing fine. I don't really see why its not working. I tried another weapon's textures and they don't show up on it either. Well it looks like they show up, but the glow texture isn't blending or something
#3
10/08/2008 (4:41 pm)
Does the weapon texture glow fine on the Interior? You probably tried it, but worth a chance..

Is the glow texture a power of 2, not monocrome and all that? Sorry, not much help..
#4
10/08/2008 (5:01 pm)
I will try the interior, as I hadn't really tried lol..

Glow texture works fine, as it is glowing there in the screenshot, but its like the 2nd pass is not handled or something so its just the glow.
#5
10/08/2008 (5:35 pm)
Well I did some testing and it seems as if its just not putting on the spec/ignoring it.

i287.photobucket.com/albums/ll136/byteasc/Core_00000003.jpg

That is the same texture on an interior floor. There is specular and a normal map, but it seems as if the bump does get applied, but the spec is totally non-existant (Used a noise type texture that works elsewhere) for the spec.

I'm at a loss really. This happens on 2 separate weapons/models, similar results. But, if you turn off Glow, it'll turn out fine.