summaryrefslogtreecommitdiff
path: root/src/shaders/lighting.wgsl
diff options
context:
space:
mode:
authorskal <pascal.massimino@gmail.com>2026-03-23 07:54:18 +0100
committerskal <pascal.massimino@gmail.com>2026-03-23 07:54:18 +0100
commit491a3c1ccbd0f46be655e97d2e3697135df6e3a2 (patch)
tree57e9d7d8732fe7a0625d99641e780b38ace4c765 /src/shaders/lighting.wgsl
parent1e3813355e37f903314ec2069ff788c6f69becfd (diff)
feat(gbuffer): wire_dag() + find_downstream_output() for temporal feedback
- Add Effect::wire_dag() virtual (called from init_effect_nodes after full DAG built) - Add Effect::find_downstream_output() protected helper (first downstream consumer output) - GBufferEffect::wire_dag() auto-sets cnn_output_node_ via find_downstream_output, guarding against sink (external view, null texture) - GBufferEffect::post_render() null-checks src texture before CopyTextureToTexture - Tests: find_downstream_output cases + wire_dag integration in test_effect_base - Doc: SEQUENCE.md updated with wire_dag pattern, helper contract, and sink guard Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Diffstat (limited to 'src/shaders/lighting.wgsl')
0 files changed, 0 insertions, 0 deletions