diff options
| author | skal <pascal.massimino@gmail.com> | 2026-03-23 00:26:52 +0100 |
|---|---|---|
| committer | skal <pascal.massimino@gmail.com> | 2026-03-23 00:26:52 +0100 |
| commit | 1470dd240f48652d1fe97957fe44a49b0e1ee9a6 (patch) | |
| tree | c202e36a2aaed35fd8bc111457bcba89c7db8658 /cnn_v3/tools/shaders.js | |
| parent | 12d5d5f1762a0c00405950b6ff5e564880f0ff36 (diff) | |
wip(cnn_v3): shadow→dif intermediate + scene tweaks + migration plan
- gbuf_shadow.wgsl: normal bias 0.05→0.02
- gbuf_pack.wgsl: compute dif=diffuse*shadow, drop shadow from t1.z,
store dif in t1.w (INTERMEDIATE — incorrect packing, see migration plan)
- gbuf_deferred.wgsl: read dif from t1.w.x (matches intermediate packing)
- gbuf_view.wgsl: expand to 4×6 grid, show dif.r/g/b in row 5
(INTERMEDIATE — to be reverted to 4×5 with ch18=dif)
- gbuffer_effect.cc: add small hovering sphere (r=0.6) above scene;
swap cube/sphere positions; both spheres pulsate
- docs/GBUF_DIF_MIGRATION.md: full migration plan with checklist
handoff(Claude): intermediate commit — GBUF_DIF_MIGRATION.md §Current State
describes what is wrong and the full implementation checklist (5 steps).
Diffstat (limited to 'cnn_v3/tools/shaders.js')
0 files changed, 0 insertions, 0 deletions
