dim.frag (186B)
1 2 3 4 5 6 7 8 9 10 11 12 13 14
// Screen Dimming #version 300 es precision highp float; in vec2 v_texcoord; uniform sampler2D tex; out vec4 fragColor; void main() { fragColor = texture(tex, v_texcoord) * 0.3; }