Archived
1
Fork 0
This repository has been archived on 2025-04-12. You can view files and clone it, but cannot push or open issues or pull requests.
prism/shaders/imgui.frag.glsl
2020-08-11 12:07:21 -04:00

10 lines
246 B
GLSL
Executable file

layout(location = 0) in vec4 in_color;
layout(location = 1) in vec2 in_uv;
layout(location = 0) out vec4 out_color;
layout(binding = 2) uniform sampler2D bound_texture;
void main() {
out_color = in_color * texture(bound_texture, in_uv);
}