Blame: crates/render-vk/shaders/texture.frag
824bf02b6e55 | atagen | 2026-10-16 09:15 UTC | 1 | #version 450 |
824bf02b6e55 | atagen | 2026-10-16 09:15 UTC | 2 | #extension GL_GOOGLE_include_directive : require |
824bf02b6e55 | atagen | 2026-10-16 09:15 UTC | 3 | #include "push.glsl" |
824bf02b6e55 | atagen | 2026-10-16 09:15 UTC | 4 | |
824bf02b6e55 | atagen | 2026-10-16 09:15 UTC | 5 | layout(set = 0, binding = 0) uniform sampler2D tex; |
824bf02b6e55 | atagen | 2026-10-16 09:15 UTC | 6 | layout(location = 0) in vec2 v_uv; |
824bf02b6e55 | atagen | 2026-10-16 09:15 UTC | 7 | layout(location = 0) out vec4 out_color; |
824bf02b6e55 | atagen | 2026-10-16 09:15 UTC | 8 | |
824bf02b6e55 | atagen | 2026-10-16 09:15 UTC | 9 | void main() { |
824bf02b6e55 | atagen | 2026-10-16 09:15 UTC | 10 | out_color = texture(tex, v_uv) * pc.color.a; |
824bf02b6e55 | atagen | 2026-10-16 09:15 UTC | 11 | } |