Files
rust-engine/shaders/triangle.frag
2019-08-18 23:28:17 +02:00

12 lines
280 B
GLSL

#version 450
#extension GL_ARB_separate_shader_objects : enable
layout(location = 0) in vec2 tex_coords;
layout(location = 0) out vec4 out_color;
//layout(binding = 1) uniform sampler2D tex;
void main() {
out_color = vec4(1.0, 0.0, 0.0, 1.0);// texture(tex, tex_coords);
}