summaryrefslogtreecommitdiff
path: root/crates/renderer/src/assets/shaders/automata/frag.glsl
blob: 05ee47d683fdc2cb8b5c09b32f132d05538fa263 (plain)
1
2
3
4
5
6
7
8
9
10
uniform sampler2D texture_data;
uniform sampler2D background;

void main()
{
    vec2 tcfull = vec2(vertex_texcoord.x, 1.0 - vertex_texcoord.y);
    vec4 texel = texture(texture_data, tcfull);
    texel.a /= 1.15;
    frag_color = texel;
}