Blend

constructor(firstResource: TextureResource, secondResource: TextureResource, blendPercentage: Float = 0.5f)

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).