atagen

monolith

public
Star0
Watch0
33d439770e90592599a895c57c8b9a32abb1931b
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"
47259c39793fatagen2026-10-17 10:13 UTC4
#include "clip.glsl"
824bf02b6e55atagen2026-10-16 09:15 UTC5
824bf02b6e55atagen2026-10-16 09:15 UTC6
layout(set = 0, binding = 0) uniform sampler2D tex;
824bf02b6e55atagen2026-10-16 09:15 UTC7
layout(location = 0) in vec2 v_uv;
824bf02b6e55atagen2026-10-16 09:15 UTC8
layout(location = 0) out vec4 out_color;
824bf02b6e55atagen2026-10-16 09:15 UTC9
824bf02b6e55atagen2026-10-16 09:15 UTC10
void main() {
47259c39793fatagen2026-10-17 10:13 UTC11
    out_color = texture(tex, v_uv) * pc.color.a * clip_alpha();
824bf02b6e55atagen2026-10-16 09:15 UTC12
}