fix: correct 3d rendering

This commit is contained in:
2026-09-30 10:24:20 +02:00
parent 48269cd21a
commit 39ff8e70e3
9 changed files with 290 additions and 173 deletions
+2
View File
@@ -38,6 +38,8 @@ struct Uniforms {
// inverse of the camera's view-projection matrix, for reconstructing a
// world-space ray origin per pixel in the raymarcher
camera_inv_proj: mat4x4<f32>,
// Screen dimensions
screen_dim: vec2<f32>
};
// Smooth cyclic palettes (Inigo Quilez cosine palettes), selected by id.