ilrShadowMask

The ilrShadowMask is a utility node designed to help creating shadow mask passes. Used with the default settings it will give the same output as the standard Shadow pass in the Turtle pass system. The major drawbacks with the default shadow pass which the Shadow- Mask solves is the following; Back facing polygons are not handled by shooting shadow rays since they are shaded black anyway in standard shaders. This leads to the standard shadow pass returning a fully lit result for a pixel that actually is in shadow. Jagged shadow borders due to low-tesselated polygons.

This is a by-product of ray traced shadows normally covered up by the shading. The ilrShadowMask fixes those two issues when using Mask Back Facing Surfaces. It will shadow everything correctly so back faced surfaces will be black, and by tweaking the Start Drop Off and Stop Drop Off. The ilrShadowMask emulates the soft shadow border by applying the lambert shading model in between the values.

Min Color

Color to be used when completely in shadow.

Max Color

Color to be used when completely lit.

Mask Back Facing Surfaces

Mask the back facing surfaces by applying a simple lambert shading algorithm.

Start Drop Off

Specifies from where the shadow should start when masking hard, jagged shadow edges.

Stop Drop Off

Specifies from where the shadow should end when masking hard, jagged shadow edges.