First person controller

This commit is contained in:
2026-02-11 20:09:51 +01:00
parent fecc1f1718
commit f05ed2e613
3 changed files with 83 additions and 50 deletions

View File

@@ -50,9 +50,8 @@ fn fragment(in: FullscreenVertexOutput) -> @location(0) vec4<f32> {
let x: i32 = i32(uvx * settings.scale) % 8;
let y: i32 = i32(uvy * settings.scale) % 8;
let final_gray = find_closest(x, y, grayscale); /// not even used?!
let final_gray = find_closest(x, y, grayscale);
// Sample each color channel with an arbitrary shift
return vec4<f32>(
final_gray, final_gray, final_gray, 0.0
);