HowTo:Add Per Pixel Lighting

From VsWiki
Revision as of 05:18, 22 March 2005 by Silverain (talk | contribs) (add page)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Adding "Per Pixel Lighting" to a Model

quotation (hellcatv, on the VS forum):

<Mesh texture="normaltexture.png" texture1="specular_map.png" >

Description: The specular map is the color of the light that the object actively reflects. If it's black, the object is matte. If it's white, then the object is totally shiny (window), and if it's like orange, then the object is copperish, cus it'll reflect only the orange light that hits it.

It's a powerful effect.

You can just take the texture you have and run it through like brightness/contrast/saturation