ImageBasedLightSource

Defines the source textures for image-based lighting (IBL) in a scene.

This sealed class hierarchy represents different configurations for environment lighting sources, supporting both single textures and blended combinations. Used with ImageBasedLightComponent to provide realistic environment lighting.

Source Types:

  • None - Disables local image-based lighting.

  • Single - Uses a single environment texture.

  • Blend - Combines two environment textures with controllable blending.

Inheritors

Constructors

Link copied to clipboard
protected constructor()

Types

Link copied to clipboard
class Blend(val firstResource: TextureResource, val secondResource: TextureResource, val blendPercentage: Float = 0.5f) : ImageBasedLightSource

Provides blended image-based lighting from two environment textures.

Link copied to clipboard

Disables local image-based lighting for the associated component.

Link copied to clipboard

Provides local image-based lighting using a single environment texture.