0ad/binaries/data/mods/public/shaders/overlayline.xml
Ykkrosh 8fee3d8ef8 # New territory border rendering.
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.
2011-07-30 00:56:45 +00:00

18 lines
527 B
XML

<?xml version="1.0" encoding="utf-8"?>
<program type="arb">
<vertex file="overlayline.vp">
<stream name="pos"/>
<stream name="uv0"/>
<uniform name="losTransform" loc="0" type="vec2"/>
</vertex>
<fragment file="overlayline.fp">
<uniform name="baseTex" loc="0" type="sampler2D"/>
<uniform name="maskTex" loc="1" type="sampler2D"/>
<uniform name="losTex" loc="2" type="sampler2D"/>
<uniform name="objectColor" loc="0" type="vec3"/>
</fragment>
</program>