b3dAmbientLight

Sets global ambient light color (0-255 RGB, constant illumination on all surfaces). Takes r/g/b (red/green/blue 0-255). Returns nothing.

3D Graphics

Parameters & Returns

Parameters

r Int
g Int
b Int

Returns

Void

Quick Summary

Sets global ambient light color (0-255 RGB, constant illumination on all surfaces). Takes r/g/b (red/green/blue 0-255). Returns nothing.

Technical Exegesis...

Sets global ambient light color (0-255 RGB, constant illumination on all surfaces). Takes r/g/b (red/green/blue 0-255). Returns nothing. Converts RGB from 0-255 to 0.0-1.0 floats, sets global g_ambientLight=(r/255, g/255, b/255). Provides base illumination independent of light sources.

This function sets ambient lighting.

Example

Example.bam
; No example implemented yet