Files
MapLibreParticleLab/src/shader/composite.vertex.glsl
Konstantin Käfer 13939b26d9 first shot at composited blending
still missing:
- stencil+depth mask
- alpha compositing
2014-05-21 10:55:09 +02:00

10 lines
159 B
GLSL

attribute vec2 a_pos;
uniform mat4 u_matrix;
varying vec2 v_pos;
void main() {
gl_Position = u_matrix * vec4(a_pos, 0, 1);
v_pos = gl_Position.xy;
}