diff options
| author | skal <pascal.massimino@gmail.com> | 2026-02-14 19:21:05 +0100 |
|---|---|---|
| committer | skal <pascal.massimino@gmail.com> | 2026-02-14 19:21:05 +0100 |
| commit | c98286860885d1f025cd8cf9da699f174118ccba (patch) | |
| tree | bafb73833ae62e2c8b04b211d4f473f3e97c3db7 /doc/ARCHITECTURE.md | |
| parent | b8d4a815453acac752c6fb3c56d047e39a76fd05 (diff) | |
feat(gpu): add two-pass raymarching infrastructure
Add RayMarchResult struct and functions for deferred SDF rendering:
- rayMarchWithID() tracks object ID and distance_max
- reconstructPosition(), normalWithID(), shadowWithStoredDistance()
- Pass 1: store geometry data, Pass 2: reuse for shading
Add WGSL style rule: prefer return values over pointers for small structs (≤16 bytes).
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Diffstat (limited to 'doc/ARCHITECTURE.md')
0 files changed, 0 insertions, 0 deletions
