Hard Light Productions Forums

Modding, Mission Design, and Coding => FS2 Open Coding - The Source Code Project (SCP) => Topic started by: Skullar on November 08, 2007, 01:11:23 pm

Title: just another question...
Post by: Skullar on November 08, 2007, 01:11:23 pm
what the hell is shine mapping ????

I know its enabled via the "specular" feature, but what exactly does it do ?
Title: Re: just another question...
Post by: Darklord42 on November 09, 2007, 10:18:07 am
Makes things shiny, perhaps?  :D
Title: Re: just another question...
Post by: ARSPR on November 09, 2007, 11:41:27 am
Shine maps set the shinniness from direct light sources. A fully shiny metal would have a full white shine map (R=G=B=255). A gold surface, (with yellow brights), would be, more or less, R=G=255, B=0.

Test how the game looks with or without -spec flag. Also read Texturing section in Wiki (http://www.hard-light.net/wiki/index.php/Texturing)

Also notice that shine map alpha channel is used to set the amount of environmental mapping reflectiveness (-env & -alpha_env flags). A full white alpha channel, which was unused before 3.6.9. build, cause the full background mirror effect that some models in Media vps 3.6.8 zeta have.