Documentation / Node reference / code nodes

code/Shadow

Outputs how lit a position is by the shadow-casting lights.

Lights

Outputs 1 where a position is lit by every directional and spot light, and less where it is in shadow. Unwired, it uses the point being shaded.

Parameters

Name Type What it does
blur Bool Softens the shadow edges.
blurAmount UInt8 How soft: 0 sharp, 2 softest.

This page is generated from the engine, so it describes the release you can download. The same text is in the editor's Help panel next to the node itself.