0ad/binaries/data/mods/public/shaders/glsl/minimap.xml
historic_bruno 7cb4c0dcfc Partial fix of minimap rendering for GLES.
Replaces glBegin/End with glDrawArrays, GL_QUADS with GL_TRIANGLES, and
modifies shaders as needed.

This was SVN commit r14153.
2013-11-12 01:31:52 +00:00

16 lines
528 B
XML

<?xml version="1.0" encoding="utf-8"?>
<program type="glsl">
<vertex file="glsl/minimap.vs">
<stream name="pos"/>
<stream name="uv0" if="MINIMAP_BASE || MINIMAP_LOS"/>
<stream name="color" if="MINIMAP_POINT"/>
<attrib name="a_vertex" semantics="gl_Vertex"/>
<attrib name="a_uv0" semantics="gl_MultiTexCoord0" if="MINIMAP_BASE || MINIMAP_LOS"/>
<attrib name="a_color" semantics="gl_Color" if="MINIMAP_POINT"/>
</vertex>
<fragment file="glsl/minimap.fs"/>
</program>