summaryrefslogtreecommitdiff
path: root/src/effects
diff options
context:
space:
mode:
authorskal <pascal.massimino@gmail.com>2026-03-22 19:58:04 +0100
committerskal <pascal.massimino@gmail.com>2026-03-22 19:58:04 +0100
commit9bf9b0aa0573f77bd667e6976a8bb413153daa1d (patch)
treec204a3ccf604ebb3cc28cda1b35f2a6aecc9b27e /src/effects
parent053f455132003267fbe6c4822124f9e447a646a6 (diff)
feat(cnn_v3): GBufDeferredEffect — simple deferred render (albedo * shadow)
New effect unpacks feat_tex0/feat_tex1 and outputs albedo * shadow. Replaces CNNv3Effect in cnn_v3_test sequence until training is complete. 37/37 tests passing. handoff(Gemini): GBufDeferredEffect wired in timeline; CNN v3 pipeline: GBufferEffect → GBufDeferredEffect → sink.
Diffstat (limited to 'src/effects')
-rw-r--r--src/effects/shaders.cc1
-rw-r--r--src/effects/shaders.h1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/effects/shaders.cc b/src/effects/shaders.cc
index a74d920..7a68e5f 100644
--- a/src/effects/shaders.cc
+++ b/src/effects/shaders.cc
@@ -119,6 +119,7 @@ const char* gbuf_raster_wgsl = SafeGetAsset(AssetId::ASSET_SHADER_GBUF_RASTE
const char* gbuf_pack_wgsl = SafeGetAsset(AssetId::ASSET_SHADER_GBUF_PACK);
const char* gbuf_shadow_wgsl = SafeGetAsset(AssetId::ASSET_SHADER_GBUF_SHADOW);
const char* gbuf_view_wgsl = SafeGetAsset(AssetId::ASSET_SHADER_GBUF_VIEW);
+const char* gbuf_deferred_wgsl = SafeGetAsset(AssetId::ASSET_SHADER_GBUF_DEFERRED);
const char* cnn_v3_enc0_wgsl = SafeGetAsset(AssetId::ASSET_SHADER_CNN_V3_ENC0);
const char* cnn_v3_enc1_wgsl = SafeGetAsset(AssetId::ASSET_SHADER_CNN_V3_ENC1);
const char* cnn_v3_bottleneck_wgsl = SafeGetAsset(AssetId::ASSET_SHADER_CNN_V3_BOTTLENECK);
diff --git a/src/effects/shaders.h b/src/effects/shaders.h
index 1664706..7e1cf02 100644
--- a/src/effects/shaders.h
+++ b/src/effects/shaders.h
@@ -25,6 +25,7 @@ extern const char* gbuf_raster_wgsl;
extern const char* gbuf_pack_wgsl;
extern const char* gbuf_shadow_wgsl;
extern const char* gbuf_view_wgsl;
+extern const char* gbuf_deferred_wgsl;
// CNN v3 inference shaders
extern const char* cnn_v3_enc0_wgsl;