b3dDisableShadows

Disables shadow casting for light (frees shadow map texture). Takes light (light entity handle). Returns nothing.

3D Graphics

Parameters & Returns

Parameters

light Int

Returns

Void

Quick Summary

Disables shadow casting for light (frees shadow map texture). Takes light (light entity handle). Returns nothing.

Technical Exegesis...

Disables shadow casting for light (frees shadow map texture). Takes light (light entity handle). Returns nothing. Validates entity is ENTITY_LIGHT type, destroys shadow map texture (calls DestroyShadowMap and sets shadowMap=nullptr), sets light->castsShadows=false. Frees GPU resources and stops shadow rendering.

This function disables shadows.

Example

Example.bam
; No example implemented yet