diff options
| author | skal <pascal.massimino@gmail.com> | 2026-02-03 19:55:42 +0100 |
|---|---|---|
| committer | skal <pascal.massimino@gmail.com> | 2026-02-03 19:55:42 +0100 |
| commit | 1bb4cc54a86c4e23dc815d305bf753fd2fee689a (patch) | |
| tree | 261cfd37134defb54f92e5cd1057ebd969d689a6 /tools/editor/script.js | |
| parent | 4fe647e13e3483e7fe01e6466c3871a20892963f (diff) | |
fix: Resolve skybox and floor rendering bugs with two-pass approach
- Implemented a two-pass rendering strategy in Renderer3D::render:
- First pass renders the skybox without depth writes.
- Second pass renders scene objects with proper depth testing.
- Ensured skybox pipeline explicitly ignores depth via .
- Corrected struct in C++ and WGSL for and padding, resolving validation errors.
- Reverted to for SDF misses, preventing sky bleed-through.
- Updated to include a SKYBOX object with Perlin noise.
handoff(Gemini): Resolved rendering bugs. Skybox renders correctly as background, and scene objects (including floor) are now visible. Codebase stable.
Diffstat (limited to 'tools/editor/script.js')
0 files changed, 0 insertions, 0 deletions
