mirror of
https://github.com/Ryujinx/GLWidget.git
synced 2024-12-22 21:45:32 +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;
|
|
} |