mirror of
https://github.com/KillzXGaming/Switch-Toolbox
synced 2024-11-23 04:53:09 +00:00
21 lines
No EOL
338 B
GLSL
21 lines
No EOL
338 B
GLSL
#version 330
|
|
|
|
in vec3 vPosition;
|
|
in vec3 vNormal;
|
|
in vec3 vColor;
|
|
|
|
out vec3 normal;
|
|
out vec3 color;
|
|
out vec3 position;
|
|
|
|
uniform mat4 modelViewMatrix;
|
|
uniform mat4 modelMatrix;
|
|
|
|
void main()
|
|
{
|
|
normal = vNormal;
|
|
color = vColor;
|
|
position = vPosition;
|
|
|
|
gl_Position = modelMatrix * modelViewMatrix * vec4(vPosition.xyz, 1.0);
|
|
} |