blob: a233825e6bc725421b0b369f8954c9b4d244ed5c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
precision highp float;
uniform sampler2D sampler;
layout (location = 2) uniform vec4 tint = vec4(1, 1, 1, 1);
noperspective in vec2 frag_texcoords;
out vec4 color;
//layout (depth_greater) out float gl_FragDepth;
void main() {
color = texture(sampler, frag_texcoords) * tint;
}
|