From f80e37bd61e447f1d66fbb5eb4c1ab7a8a77cf0f Mon Sep 17 00:00:00 2001 From: skal Date: Sun, 1 Feb 2026 11:31:00 +0100 Subject: feat: Add seamless bump mapping with procedural noise - Replaced white noise with smooth value-like noise. - Implemented periodic texture generation (seam blending). - Integrated bump mapping into Renderer3D using finite difference of displaced SDF. - Updated test_3d_render with noise texture and multiple SDF shapes (Box, Sphere, Torus). --- PROJECT_CONTEXT.md | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'PROJECT_CONTEXT.md') diff --git a/PROJECT_CONTEXT.md b/PROJECT_CONTEXT.md index b990347..b34805a 100644 --- a/PROJECT_CONTEXT.md +++ b/PROJECT_CONTEXT.md @@ -52,7 +52,14 @@ Incoming tasks in no particular order: - `Renderer3D` implemented with basic cube rendering (Done). - `test_3d_render` mini-demo created (Debugging crash in `wgpuInstanceWaitAny`). - 15. Shader Logic (Task #2 -> #3): - - Ray-object intersection & SDF rendering in WGSL. + - Ray-object intersection & SDF rendering in WGSL (Done). + - SDF Box, Sphere, Torus implemented. + - Hybrid normal calculation (Analytical + Numerical) (Done). + - Bump mapping with procedural noise (Done). + - Periodic texture generation (Done). +- 16. Integrate 3D Renderer into Main Demo: + - Update `main.cc` / `gpu.cc` to use `Renderer3D`. + - Apply Gaussian Blur and Chromatic Aberration post-processing. ## Session Decisions and Current State -- cgit v1.2.3