mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-01-07 12:10:52 -06:00
13 lines
239 B
GLSL
13 lines
239 B
GLSL
#version 330
|
|
|
|
uniform mat4 projectionMatrix;
|
|
uniform mat4 viewMatrix;
|
|
uniform mat4 modelMatrix;
|
|
|
|
in vec4 position;
|
|
out vec4 color;
|
|
|
|
void main() {
|
|
gl_Position = projectionMatrix * viewMatrix * modelMatrix * position;
|
|
color = position;
|
|
} |