1
0
forked from 0ad/0ad

A spec map material for helmets. This makes the specular shinier for helmets that use this material for a more noticeable effect.

This was SVN commit r12607.
This commit is contained in:
Michael D. Hafer 2012-09-02 20:46:17 +00:00
parent 545db71a8c
commit 0c2b69cb89
4 changed files with 19 additions and 12 deletions

View File

@ -13,9 +13,9 @@
<define name="USE_SPECULAR_MAP" value="1"/>
<!-- Settings for effects above:
First value: Normal mapping intensity.
First value: Normal mapping intensity.
Second value: Specular power.
Third value: Parallax scale.
Fourth value: AO amount. -->
<uniform name="effectSettings" value="1.0 50.0 0.0075 0.85"/>
<uniform name="effectSettings" value="1.0 25.0 0.0075 0.85"/>
</material>

View File

@ -17,7 +17,7 @@
<define name="USE_AO" value="1"/>
<!-- Settings for effects above:
First value: Normal mapping intensity.
First value: Normal mapping intensity.
Second value: Specular power.
Third value: Parallax scale.
Fourth value: AO amount. -->

View File

@ -3,19 +3,11 @@
<shader effect="model"/>
<alternative material="player_trans.xml" quality="1"/>
<define name="USE_PLAYERCOLOR" value="1"/>
<!--<conditional_define name="USE_PARALLAX_MAP" value="1" type="draw_range" conf="PARALLAX_DIST"/>
<conditional_define name="USE_HQ_PARALLAX" value="1" type="draw_range" conf="PARALLAX_HQ_DIST"/>
<conditional_define name="USE_VHQ_PARALLAX" value="1" type="draw_range" conf="PARALLAX_VHQ_DIST"/>
<define name="USE_NORMAL_MAP" value="1"/>-->
<define name="USE_SPECULAR_MAP" value="1"/>
<define name="USE_SELF_LIGHT" value="1"/>
<!--<define name="USE_AO" value="1"/>-->
<!-- Settings for effects above:
First value: Normal mapping intensity.
First value: Normal mapping intensity.
Second value: Specular power.
Third value: Parallax scale.
Fourth value: AO amount. -->

View File

@ -0,0 +1,15 @@
<?xml version="1.0" encoding="utf-8"?>
<material>
<shader effect="model"/>
<alternative material="player_trans.xml" quality="1"/>
<define name="USE_PLAYERCOLOR" value="1"/>
<define name="USE_SPECULAR_MAP" value="1"/>
<define name="USE_SELF_LIGHT" 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 20.0 0.0075 0.85"/>
</material>