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)