fixing vicious bug in scene code

This commit is contained in:
2024-12-27 23:28:51 +01:00
parent 4e326db10d
commit 49002fdd98
8 changed files with 45 additions and 43 deletions

View File

@@ -34,7 +34,7 @@ external
[entry(vert)]
fn main(input: VertIn) -> VertOut
{
let position: vec4[f32] = vec4[f32](input.pos.xy, 1.0, 1.0);
let position: vec4[f32] = vec4[f32](input.pos.xy, 0.0, 1.0);
input.uv *= -1.0;
let output: VertOut;
output.uv = input.uv;