b3dLightShadowColor

Sets shadow color/tint (0-255 RGB, default black 0,0,0 for hard shadows). Takes light (light entity handle), r/g/b (red/green/blue 0-255). Returns nothing.

3D Graphics

Parameters & Returns

Parameters

light Int
r Int
g Int
b Int

Returns

Void

Quick Summary

Sets shadow color/tint (0-255 RGB, default black 0,0,0 for hard shadows). Takes light (light entity handle), r/g/b (red/green/blue 0-255). Returns nothing.

Technical Exegesis...

Sets shadow color/tint (0-255 RGB, default black 0,0,0 for hard shadows). Takes light (light entity handle), r/g/b (red/green/blue 0-255). Returns nothing. Validates entity is ENTITY_LIGHT type, converts RGB from 0-255 to 0.0-1.0 floats, sets light->shadowColor=(r/255, g/255, b/255). Tints shadowed areas with color.

This function sets shadow tint. Color conversion: RGB values 0-255 converted to 0.0-1.0 floats (standard shader format).

Example

Example.bam
; No example implemented yet