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.wgsl3
1 files changed, 1 insertions, 2 deletions
diff --git a/client/src/ui.wgsl b/client/src/ui.wgsl
index 4f55e25..a444f71 100644
--- a/client/src/ui.wgsl
+++ b/client/src/ui.wgsl
@@ -39,8 +39,7 @@ fn unpack_color(color: u32) -> vec4<f32> {
@vertex
fn vs_main(@builtin(vertex_index) vindex: u32, vi: VertexIn) -> VertexOut {
- var clip = project * vec4(vi.pos / 10., 0., 1.);
- // var clip = vec4(vi.pos / 100., 0., 1.);
+ var clip = project * vec4(vi.pos, 0., 1.);
let vo = VertexOut(clip, vi.uv, unpack_color(vi.color));
return vo;
}