2021-07-09 17:05:27 +00:00
|
|
|
#version 120
|
|
|
|
|
|
|
|
uniform mat4 projectionMatrix;
|
|
|
|
|
2021-08-08 01:04:11 +00:00
|
|
|
centroid varying vec4 passColor;
|
2021-07-09 17:05:27 +00:00
|
|
|
|
|
|
|
void main()
|
|
|
|
{
|
|
|
|
gl_Position = projectionMatrix * (gl_ModelViewMatrix * gl_Vertex);
|
|
|
|
|
|
|
|
passColor = gl_Color;
|
|
|
|
}
|