SWBFGamers

Modding for the Original SWBF1 and SWBF2 => SWBF1 Modding => Topic started by: Phobos on November 09, 2012, 11:12:29 PM

Title: Specularity to sky object msh?
Post by: Phobos on November 09, 2012, 11:12:29 PM
I am wondering if its possible to hex-edit specularity changes (like reflection or glowing) to a sky object msh (not dome msh)?

Here is the moon msh I want to reflect and/or glow
http://www.speedyshare.com/4xmK7/kas1-moon.msh

edit: would switching the mat0's tga DATA.CHUNK with one from a shiny msh work?
doesn't work
Title: Re: Specularity to sky object msh?
Post by: tirpider on November 09, 2012, 11:43:48 PM
Currently that msh has singlesided trans, and Emissive enabled.

Ande's ATRB list (http://www.ande.pytalhost.eu/flags.jpg)

Just add the value for specular to the existing ATRB value.

(see before (01.png) and after(02.png pics below)

Once specular is enabled you can adjust/replace the data chunk to vary the effect.


-edit (for everyone)
The ATRB chunk sets the render options and type.
The DATA chunk has values that need to go with it. (colors, specular intensity, ect)

So to get an affect from one material to another, you need both the DATA and ATRB for it to look the same as the source material.
EhPortal 1.34 © 2025, WebDev