Files
Vladislav Belov 1380a93077 Packs particle size and angle to axes
We need to have per-vertex data to be constant to use instancing.
Now we have only UV coordinates.
2026-06-22 23:18:26 +02:00

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>