rf-web/vendor/bundle/gems/rouge-3.12.0/lib/rouge/demos/glsl
2019-10-21 10:18:17 +02:00

14 lines
229 B
Plaintext

#version 330 core
uniform mat4 worldMatrix;
layout(location = 0) in vec2 position;
layout(location = 1) in vec4 color;
out vec4 vertexColor;
void main()
{
vertexColor = color;
gl_Position = vec4(position, 0.0, 1.0);
}