summaryrefslogtreecommitdiff
path: root/client/src/ui.wgsl
diff options
context:
space:
mode:
Diffstat (limited to 'client/src/ui.wgsl')
-rw-r--r--client/src/ui.wgsl2
1 files changed, 1 insertions, 1 deletions
diff --git a/client/src/ui.wgsl b/client/src/ui.wgsl
index 6361782..4f55e25 100644
--- a/client/src/ui.wgsl
+++ b/client/src/ui.wgsl
@@ -46,5 +46,5 @@ fn vs_main(@builtin(vertex_index) vindex: u32, vi: VertexIn) -> VertexOut {
}
@fragment
fn fs_main(vo: VertexOut) -> @location(0) vec4<f32> {
- return textureSample(texture, texture_sampler, vo.uv) * vo.color;
+ return pow(textureSample(texture, texture_sampler, vo.uv) * vo.color, vec4(2.2));
}