CGII/framework/shader/plot/glsl/plot2d_face.glvs
2018-05-17 16:01:02 +02:00

9 lines
No EOL
186 B
Text

#version 150 compatibility
uniform float plot_scale;
void main()
{
// transform vertex to clip space
gl_Position = vec4(gl_Vertex.x,gl_Vertex.y,plot_scale*gl_Vertex.z,gl_Vertex.w);
}