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
+3
View File
@@ -101,6 +101,9 @@ pub struct Uniforms {
/// Inverse of the camera's view-projection matrix (column-major), for
/// reconstructing a world-space ray origin per pixel in the raymarcher.
pub camera_inv_proj: [f32; 16],
/// Screen dimension
pub screen_dim: [f32; 2],
pub _pad3: [u32; 2],
}
/// Offscreen textures for the two-pass render, recreated whenever the widget's