From 47e5b44576e581ae0b62ad1e3bed444b8a82cefd Mon Sep 17 00:00:00 2001 From: metamuffin Date: Fri, 10 Jan 2025 15:35:23 +0100 Subject: spawn ui in world with click --- client/src/ui.wgsl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'client/src/ui.wgsl') 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 { - return textureSample(texture, texture_sampler, vo.uv) * vo.color; + return pow(textureSample(texture, texture_sampler, vo.uv) * vo.color, vec4(2.2)); } -- cgit v1.2.3-70-g09d2