Log inGet started
Package

contactShadows.module

Newest version

This package holds more than this page lists. See all of its files in its world.

README.md

contactShadows

Runtime control of the scene contact shadows — .set / .get / .clear / .active, with .lights reading back the lights this frame's traces aim at and .refresh re-reading the scene's lighting. set takes any subset; omitted fields keep their value, and a strength of 0 releases the render pass.

Every world runs contact shadows at DEFAULTS while its render.contact_shadows setting is on and nothing else states them (followWorld, which the world loader calls; byWorldDefault reads whether the default is what draws, and useWorldDefault brings it back in place of a script's own set / clear). For contact shadows a scene should have its own way, author the ContactShadows component instead. The full description of the knobs and the pass is in the package readme: guides { path = "systems/contactShadows" }.