b3dLightShadowAlpha

Sets shadow opacity/intensity (0.0=no shadow, 1.0=full shadow, default 1.0). Takes light (light entity handle), alpha (shadow opacity 0.0-1.0, typically 0.5-1.0). Returns nothing.

3D Graphics

Parameters & Returns

Parameters

light Int
alpha Double

Returns

Void

Quick Summary

Sets shadow opacity/intensity (0.0=no shadow, 1.0=full shadow, default 1.0). Takes light (light entity handle), alpha (shadow opacity 0.0-1.0, typically 0.5-1.0). Returns nothing.

Technical Exegesis...

Sets shadow opacity/intensity (0.0=no shadow, 1.0=full shadow, default 1.0). Takes light (light entity handle), alpha (shadow opacity 0.0-1.0, typically 0.5-1.0). Returns nothing. Validates entity is ENTITY_LIGHT type, sets light->shadowAlpha=(float)alpha. Controls shadow darkness/intensity.

This function sets shadow opacity. Alpha application: shadowedColor = litColor * (1 - shadowAlpha) + shadowColor * shadowAlpha, alpha controls blend between lit color and shadow color. Alpha ranges: 0.

Example

Example.bam
; No example implemented yet