looking-glass/client/renderers/EGL/shader/splash_logo.vert

17 lines
248 B
GLSL
Raw Normal View History

#version 300 es
layout(location = 0) in vec3 vertexPosition_modelspace;
uniform vec2 scale;
out highp float a;
void main()
{
gl_Position.xyz = vertexPosition_modelspace;
gl_Position.y *= scale.y;
gl_Position.w = 1.0;
a = scale.x;
}