Page 1 of 1

Help with lava glow

Posted: Fri Mar 18, 2011 8:24 pm
by Teancum
I've been working on the Xbox conversion of martin105038's Korriban. I'm having trouble updating the lava object to have the cool orange Mustafar-y glow. Below is a hex shot of the MSH file I'm working with. Any help would be hot - I checked out the hex tutorial, but I know I'm doing it wrong.
Hidden/Spoiler:
Image
file.msh.option
Hidden/Spoiler:
-nocollison -vertexlighting -noprojectionlights

Re: Help with lava glow

Posted: Fri Mar 18, 2011 8:28 pm
by AQT
The fifth place after ATRB over on the hexadecimal side should be an 02 (before the 0B).

Re: Help with lava glow

Posted: Fri Mar 18, 2011 8:38 pm
by Teancum
So it's?

Code: Select all

04 00 00 00 00 0B 02 23
Also is an alpha channel needed, or does it just play off the texture map? I noticed the default map didn't have one, but I didn't know if this is a different flag.

Re: Help with lava glow

Posted: Fri Mar 18, 2011 8:44 pm
by THEWULFMAN
No, you dont need an Alpha for glow. The brightness of the texture is how you control the level of brightness. Useing a pure White texture will get you a load of light.

Re: Help with lava glow

Posted: Fri Mar 18, 2011 9:05 pm
by Teancum
And what about the color? Is that also determined by the texture's color?

Re: Help with lava glow

Posted: Fri Mar 18, 2011 9:12 pm
by AQT
Teancum wrote:So it's?

Code: Select all

04 00 00 00 00 0B 02 23
That would be the seventh place and after 0B. The following should be it:

Code: Select all

04 00 00 00 02 0B 00 23
An alpha layer is only needed to adjust the intensity of the glow. A more opaque alpha layer will get you a less intense glow, but if it is completely black, then the areas of the MSH applied with glow will appear completely black in-game. And the color of the glow depends on the color of the RGB texture, of course.

Re: Help with lava glow

Posted: Fri Mar 18, 2011 10:15 pm
by Teancum
That would explain my problem - apparently I'm dyslexic today. :runaway: