fix: correct 3d rendering

This commit is contained in:
2026-09-23 18:34:00 +02:00
parent 694f63ab9d
commit 63cee5d8b2
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