Light Functions

lighting_overview_banner_001.png

Light Functions are - in essence - a Material that can be applied to filter a light's intensity.

It should be noted, however, that you cannot change the color of lights using a Light Function, only the Light Color setting can do that. Also, Static Lights cannot not use Light Functions, as this feature is only available for non-lightmapped lights, like Stationary and Movable lights.

It should be noted however that you cannot change the color of lights using a Light Function, only the Light Color setting can do that.

In the image below (click it to view it full size), a Material uses Panner and ScalarParameter nodes to move a texture while generating a flickering effect.

Creating a Light Function

You can create a Light Function by setting the Material Domain of a Material to use the Light Function attribute.

MAT_LightFunction.png

Applying a Light Function

You can apply a Light Function to a light from inside the Details panel under the Light Function Material setting.

AddLightFunction.png