mirror of
https://github.com/Ryujinx/GLWidget.git
synced 2025-01-08 23:25:27 +00:00
14 lines
305 B
Plaintext
14 lines
305 B
Plaintext
|
#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;
|
||
|
}
|