1
0
forked from mirrors/0ad
Files
0ad/binaries/data/mods/public/art/materials/basic_specmap.xml
T
historic_bruno b1c4e29ac8 Fixes inconsistencies in spelling of colour/color by preferring "color" (only wxWidgets remains with some API that requires "colour"), fixes #1029.
NOTE: requires update-workspaces and may require correction of some
modded actors/scenarios

This was SVN commit r16438.
2015-03-15 23:59:48 +00:00

24 lines
976 B
XML

<?xml version="1.0" encoding="utf-8"?>
<material>
<shader effect="model"/>
<!-- REQUIRES: Actor must provide a texture named "specTex", where the RGB channels
provide a specular color multiplier.
Material must provide a uniform definition for "specularPower" that controls
the glossiness of the effect.
COMMENT: The intensity of the color controls the specular amount, so black pixels have
no specularity.
COMPATIBILITY: This effect is incompatible with the old "USE_SPECULAR" effect.
EFFICIENCY: This is a relatively inexpensive effect that should run easily on most hardware. -->
<!-- Settings for effects above:
First value: Normal mapping intensity.
Second value: Specular power.
Third value: Parallax scale.
Fourth value: AO amount. -->
<uniform name="effectSettings" value="1.0 25.0 0.0075 0.85"/>
<required_texture name="baseTex"/>
<required_texture name="specTex" define="USE_SPECULAR_MAP"/>
</material>