diff options
| author | skal <pascal.massimino@gmail.com> | 2026-03-22 23:17:50 +0100 |
|---|---|---|
| committer | skal <pascal.massimino@gmail.com> | 2026-03-22 23:17:50 +0100 |
| commit | 8fd3eda0ed069b1a817261f8f4d6a35c565b3fe4 (patch) | |
| tree | ba7a61571d6e08d580ce0db9cddb9ad21584da75 /workspaces | |
| parent | a2697faa005337c4d8e8e6376d9e57edadf63f44 (diff) | |
1. Camera Y-inversion: proj.m[5] = -proj.m[5] in upload_scene_data
+ WGPUFrontFace_CCW on raster pipeline.
2. Shadow formula: replace shadowWithStoredDistance with 64-step
IQ soft shadow (8*d/t, unbounded).
3. Local→world SDF scale: d *= length(obj.model[0].xyz).
4. Shadow bias: use rasterized normal from normal_mat_tex (binding 4)
instead of light direction — fixes terminator self-shadow on spheres.
5. ShaderComposer: GBufViewEffect now resolves #include via
ShaderComposer::Get().Compose().
Also: per-tile channel labels in gbuf_view.wgsl via debug_str.
Scene simplified to 1 cube + 1 sphere for debugging (restore TODO).
Scale propagation for pulsating sphere confirmed correct end-to-end.
handoff(Gemini): shadow validated. Next: restore full scene in
GBufferEffect::set_scene() (20 cubes + 4 spheres, 2 lights), then
run training pass per cnn_v3/docs/HOWTO.md §3.
Diffstat (limited to 'workspaces')
| -rw-r--r-- | workspaces/main/timeline.seq | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/workspaces/main/timeline.seq b/workspaces/main/timeline.seq index bb667b3..1b75cdc 100644 --- a/workspaces/main/timeline.seq +++ b/workspaces/main/timeline.seq @@ -16,13 +16,13 @@ SEQUENCE 12.00 0 "cnn_v3_test" EFFECT + GBufferEffect source -> gbuf_feat0 gbuf_feat1 0.00 8.00 EFFECT + GBufDeferredEffect gbuf_feat0 gbuf_feat1 -> sink 0.00 8.00 -SEQUENCE 20.00 2 "hybrid_heptagon" +SEQUENCE 28.00 2 "hybrid_heptagon" # Heptagon -> Hybrid3D -> sink EFFECT + Heptagon source -> temp1 0.00 4.00 EFFECT + Hybrid3D temp1 -> temp2 0.00 4.00 EFFECT + Ntsc temp2 -> sink 0.00 4.00 -SEQUENCE 24.00 0 "heptagon_scene" +SEQUENCE 28.00 0 "heptagon_scene" EFFECT + Scene1 source -> temp1 0.00 4.00 EFFECT + Ntsc temp1 -> sink 0.00 4.00 @@ -52,5 +52,5 @@ SEQUENCE 48.00 1 "particles" SEQUENCE 52.00 0 "cnn_v3_debug" NODE gbuf_feat0 gbuf_rgba32uint NODE gbuf_feat1 gbuf_rgba32uint - EFFECT + GBufferEffect source -> gbuf_feat0 gbuf_feat1 0.00 8.00 - EFFECT + GBufViewEffect gbuf_feat0 gbuf_feat1 -> sink 0.00 8.00 + EFFECT + GBufferEffect source -> gbuf_feat0 gbuf_feat1 0.00 120.00 + EFFECT + GBufViewEffect gbuf_feat0 gbuf_feat1 -> sink 0.00 120.00 |
