celestia/shaders/ecliptic_vert.glsl

8 lines
143 B
Plaintext
Raw Normal View History

2019-11-08 05:24:42 -07:00
#version 120
void main(void)
{
vec4 p = vec4(gl_Vertex.x, 0.0f, gl_Vertex.y, 1.0f);
gl_Position = gl_ModelViewProjectionMatrix * p;
}