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/engine/shaders/imgui.frag.glsl

11 lines
246 B
Text
Raw Normal View History

2021-05-09 20:04:41 -04:00
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);
}