aboutsummaryrefslogtreecommitdiffstats
path: root/shaders/ui.frag
diff options
context:
space:
mode:
authorladevieq <ladevie.quentin@gmail.com>2021-03-05 23:04:09 +0100
committerladevieq <ladevie.quentin@gmail.com>2021-03-05 23:04:09 +0100
commit7e572410bb95a46db3bd3955cc7689ea87973cea (patch)
tree71c2335dc69bf543161d3f14163709e05905a5b4 /shaders/ui.frag
parent6c1c9d47b4d46b6fa107474e0802647c0463fe74 (diff)
Working hardcoded imgui backend
Diffstat (limited to 'shaders/ui.frag')
-rw-r--r--shaders/ui.frag4
1 files changed, 2 insertions, 2 deletions
diff --git a/shaders/ui.frag b/shaders/ui.frag
index 99534aa..c9f0339 100644
--- a/shaders/ui.frag
+++ b/shaders/ui.frag
@@ -5,8 +5,8 @@ layout(location = 0) in struct {
vec4 color;
} In;
-// layout(set = 0, binding = 1) uniform sampler2D atlas;
+layout(set = 0, binding = 1) uniform sampler2D atlas;
void main() {
- o_Color = In.color; // * texture(atlas, In.uv.xy);
+ o_Color = In.color * texture(atlas, In.uv.xy);
}