atagen

monolith

public
Star0
Watch0
4e5afcada08b43cdb086a1cf8a4562e47d03d154
1
ssh://brewery@pls.lobotomise.me:33/atagen/monolith.git

Blame: crates/render-vk/shaders/texture.frag

824bf02b6e55atagen2026-10-16 09:15 UTC1
#version 450
824bf02b6e55atagen2026-10-16 09:15 UTC2
#extension GL_GOOGLE_include_directive : require
824bf02b6e55atagen2026-10-16 09:15 UTC3
#include "push.glsl"
824bf02b6e55atagen2026-10-16 09:15 UTC4
824bf02b6e55atagen2026-10-16 09:15 UTC5
layout(set = 0, binding = 0) uniform sampler2D tex;
824bf02b6e55atagen2026-10-16 09:15 UTC6
layout(location = 0) in vec2 v_uv;
824bf02b6e55atagen2026-10-16 09:15 UTC7
layout(location = 0) out vec4 out_color;
824bf02b6e55atagen2026-10-16 09:15 UTC8
824bf02b6e55atagen2026-10-16 09:15 UTC9
void main() {
824bf02b6e55atagen2026-10-16 09:15 UTC10
    out_color = texture(tex, v_uv) * pc.color.a;
824bf02b6e55atagen2026-10-16 09:15 UTC11
}