b3dEnableShadows

Enables shadow casting for light (1=success, 0=failure, creates shadow map texture). Takes light (light entity handle), shadowMapWidth (shadow map width in pixels), shadowMapHeight (shadow map height in pixels, ignored for point lights). Returns 1 (TRUE) if success, 0 (FALSE) if failure.

3D Graphics

Parameters & Returns

Parameters

light Int
shadowMapWidth Int
shadowMapHeight Int

Returns

Int

Quick Summary

Enables shadow casting for light (1=success, 0=failure, creates shadow map texture). Takes light (light entity handle), shadowMapWidth (shadow map width in pixels), shadowMapHeight (shadow map height in pixels, ignored for point lights). Returns 1 (TRUE) if success, 0 (FALSE) if failure.

Technical Exegesis...

Enables shadow casting for light (1=success, 0=failure, creates shadow map texture). Takes light (light entity handle), shadowMapWidth (shadow map width in pixels), shadowMapHeight (shadow map height in pixels, ignored for point lights). Returns 1 (TRUE) if success, 0 (FALSE) if failure.

Example

Example.bam
; No example implemented yet