mirror of
https://github.com/storytold/effectcraft.git
synced 2026-10-24 10:09:32 -06:00
The Advanced 3D renderer folded Accepts Shadows (Off/On/Only) into a bool, so a shadow catcher set to Only drew as an ordinary lit surface. The material now carries shadows_only. Such a fragment draws black at the strongest shadow a light casts on it, as Classic 3D does, and it goes in the blended pass so what is behind it shows through. The CPU shader and advanced3d.wgsl get the same branch. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>