Contents

DiffuseLightProbeReceiverComponent

A component that receives diffuse lighting from a referenced probe group.

Declaration

struct DiffuseLightProbeReceiverComponent

Overview

Attach this component to entities that should receive spatially-varying diffuse indirect lighting. As the entity moves through the scene, the system automatically interpolates diffuse lighting from the probe group based on the entity’s current position.

This follows the same receiver pattern as ImageBasedLightReceiverComponent.

character.components[DiffuseLightProbeReceiverComponent.self] =
    DiffuseLightProbeReceiverComponent(probeGroup: probeGroupEntity)

Topics

Initializers

Instance Properties

See Also

Related Documentation

Lightmaps and light probes