Files
rust-engine/shaders/triangle.frag
2019-07-27 03:49:02 +02:00

9 lines
157 B
GLSL

#version 450
layout(location = 0) in vec3 pos;
layout(location = 0) out vec4 f_color;
void main() {
f_color = vec4(.3, (pos.y + 5.) / 10., .8, 1.0);
}