forked from 0ad/0ad
Ykkrosh
97c934ad1c
Don't adjust the shading colour of units in FoW (the shading comes from the LOS texture instead). This was SVN commit r9142.
22 lines
694 B
XML
22 lines
694 B
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<program type="arb">
|
|
|
|
<define name="DECAL" value="1"/>
|
|
|
|
<vertex file="terrain_common.vp">
|
|
<uniform name="sunColor" loc="0" type="vec3"/>
|
|
<uniform name="losTransform" loc="1" type="vec2"/>
|
|
<uniform name="shadowTransform" loc="2" type="mat4"/>
|
|
</vertex>
|
|
|
|
<fragment file="terrain_common.fp">
|
|
<uniform name="baseTex" loc="0" type="sampler2D"/>
|
|
<uniform name="shadowTex" loc="2" type="sampler2DShadow"/>
|
|
<uniform name="losTex" loc="3" type="sampler2D"/>
|
|
|
|
<uniform name="ambient" loc="0" type="vec3"/>
|
|
<uniform name="shadingColor" loc="1" type="vec3"/>
|
|
</fragment>
|
|
|
|
</program>
|