gtk2/gsk/resources/glsl/blend.vs.glsl
Timm Bäder f4304336ea gl renderer: Don't pass MVP to shaders
We already pass both modelview and projection matrix individually.
2017-12-21 19:12:30 +01:00

6 lines
115 B
GLSL

void main() {
gl_Position = uModelview * uProjection * vec4(aPosition, 0.0, 1.0);
vUv = vec2(aUv.x, aUv.y);
}