rf-web/vendor/bundle/gems/rouge-3.12.0/lib/rouge/demos/glsl

14 lines
229 B
Plaintext
Raw Normal View History

2019-10-21 08:18:17 +00:00
#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);
}