1
0
forked from 0ad/0ad

Added Parallax VHQ for the new rocks

This was SVN commit r12441.
This commit is contained in:
danschub 2012-08-16 00:31:42 +00:00
parent 3653fe5d3a
commit b54a7486da
12 changed files with 37 additions and 15 deletions

View File

@ -2,20 +2,29 @@
<actor version="1">
<group>
<variant name="decal_stone_medit_b">
<variant name="decal_stone_desert_b">
<decal width="20" depth="20" angle="0" offsetx="0" offsetz="0"/>
</variant>
</group>
<group>
<variant frequency="1" name="decal_01">
<textures><texture file="gaia/decal_stone_desert_01.dds" name="baseTex"/></textures>
<textures>
<texture file="gaia/decal_stone_desert_01.dds" name="baseTex"/>
<texture file="gaia/decal_stone_desert_01_spec.png" name="specTex"/>
<texture file="gaia/decal_stone_desert_01_norm.png" name="normTex"/>
</textures>
</variant>
<variant frequency="1" name="decal_02">
<textures><texture file="gaia/decal_stone_desert_02.dds" name="baseTex"/></textures>
<textures>
<texture file="gaia/decal_stone_desert_02.dds" name="baseTex"/>
<texture file="gaia/decal_stone_desert_02_spec.png" name="specTex"/>
<texture file="gaia/decal_stone_desert_02_norm.png" name="normTex"/>
</textures>
</variant>
</group>
<material>terrain_base.xml</material>
<material>terrain_norm_test.xml</material>
</actor>

View File

@ -13,7 +13,7 @@
<texture file="gaia/stone_scandiv_template.png" name="baseTex"/>
<texture file="gaia/stone_scandiv_template_norm.png" name="normTex"/>
<texture file="gaia/stone_scandiv_template_spec.png" name="specTex"/>
<texture file="gaia/stone_scandiv_template_ao.png" name="aoTex"/>
<texture file="gaia/ao/stone_scandiv_template_ao.png" name="aoTex"/>
</textures>
</variant>
</group>

View File

@ -14,7 +14,7 @@
<texture file="gaia/stonequarry_temperate.png" name="baseTex"/>
<texture file="gaia/stonequarry_temperate_norm.png" name="normTex"/>
<texture file="gaia/stonequarry_temperate_spec.png" name="specTex"/>
<texture file="gaia/stonequarry_temperate_rock01_ao.png" name="aoTex"/>
<texture file="gaia/ao/stonequarry_temperate_rock01_ao.png" name="aoTex"/>
</textures>
</variant>
</group>

View File

@ -12,6 +12,7 @@
EFFICIENCY: This is a moderately expensive effect, so use with care. -->
<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"/>
<!-- REQUIRES: Actor must provide a texture named "normTex", where the RGB channels
are a normal map corresponding to XYZ normals.
@ -45,5 +46,5 @@
Second value: Specular power.
Third value: Parallax scale.
Fourth value: AO amount. -->
<uniform name="effectSettings" value="5.0 50.0 0.0075 0.85"/>
<uniform name="effectSettings" value="1.0 10.0 0.0075 0.85"/>
</material>

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.