mirror of
https://gitea.wildfiregames.com/0ad/0ad.git
synced 2026-07-29 09:52:24 +00:00
1380a93077
We need to have per-vertex data to be constant to use instancing. Now we have only UV coordinates.
15 lines
373 B
XML
15 lines
373 B
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<program type="glsl">
|
|
|
|
<vertex file="glsl/particle.vs">
|
|
<stream name="pos" attribute="a_vertex"/>
|
|
<stream name="color" attribute="a_color"/>
|
|
<stream name="uv0" attribute="a_uv0"/>
|
|
<stream name="uv1" attribute="a_axisX"/>
|
|
<stream name="uv2" attribute="a_axisY"/>
|
|
</vertex>
|
|
|
|
<fragment file="glsl/particle.fs"/>
|
|
|
|
</program>
|