mirror of
https://github.com/Ryujinx/GLWidget.git
synced 2024-12-23 02:55:27 +00:00
14 lines
305 B
GLSL
14 lines
305 B
GLSL
#version 330 core
|
|
layout(location = 0) in vec3 vertexPosition_modelSpace;
|
|
layout(location = 1) in vec3 vertexColour;
|
|
|
|
uniform mat4 ModelViewProjection;
|
|
|
|
out vec3 fragmentColour;
|
|
|
|
void main()
|
|
{
|
|
gl_Position = ModelViewProjection * vec4(vertexPosition_modelSpace, 1.0);
|
|
|
|
fragmentColour = vertexColour;
|
|
} |