CGII/framework/shader/plot/glsl/plot1d.glvs

12 lines
202 B
Text
Raw Normal View History

2018-05-17 14:01:02 +00:00
#version 150 compatibility
out vec4 color;
vec4 map_plot_to_screen(in vec2 pnt);
void main()
{
// transform vertex to clip space
gl_Position = map_plot_to_screen(gl_Vertex.xy);
color = gl_Color;
}