Blend

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

Provides blended image-based lighting from two environment textures.

Parameters

firstResource

The primary environment texture.

secondResource

The secondary environment texture to blend with.

blendPercentage

The blend ratio, where 0.0 = 100% first texture, 1.0 = 100% second texture. The default value is 0.5 (equal blend).

Constructors

Link copied to clipboard
constructor(firstResource: TextureResource, secondResource: TextureResource, blendPercentage: Float = 0.5f)

Properties

Link copied to clipboard
val blendPercentage: Float
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int