aboutsummaryrefslogtreecommitdiff
path: root/assets/.stationary/Shaders/SimpleLine.glsl
blob: 60c23d4bc98948c1091c19872d49015c1cfd631a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#type vertex
#version 330 core

layout(location = 0) in vec3 pos;

// Autofill uniforms
uniform mat4 transformation;

void main() {
	gl_Position = transformation * vec4(pos, 1.0);
}

#type fragment
#version 330 core

out vec4 fragColor;

void main() {
	fragColor = vec4(1.0, 1.0, 1.0, 1.0);
}