22 lines
926 B
XML
22 lines
926 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 colour multiplier.
|
|
Material must provide a uniform definition for "specularPower" that controls
|
|
the glossiness of the effect.
|
|
COMMENT: The intensity of the colour 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. -->
|
|
<define name="USE_SPECULAR_MAP" value="1"/>
|
|
|
|
<!-- 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"/>
|
|
</material>
|