Add textured line overlay rendering. Change terrain height calculations to be triangulation-dependent for improved accuracy. Add triangulation-dependent terrain normal function. Support separate S/T wrap modes for textures. Rename CVector2D_Maths since it no longer conflicts with simulation CVector2D. Coalesce freed chunks in vertex buffers, to avoid excessive fragmentation. Add some things to help debug vertex buffer allocation a little. This was SVN commit r9929.
21 lines
719 B
XML
21 lines
719 B
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<program type="arb">
|
|
|
|
<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="shadowOffsets1" loc="2" type="vec4"/>
|
|
<uniform name="shadowOffsets2" loc="3" type="vec4"/>
|
|
</fragment>
|
|
|
|
</program>
|