BBMOD_Light.RenderPass

A variable defined in BBMOD_Light.gml

Description

Real Bitwise OR of 1 << render pass in which the light is enabled. By default this is BBMOD_ERenderPass.Forward and BBMOD_ERenderPass.ReflectionCapture, which means the light is visible only in the forward render pass and during capture of reflection probes.

Example

flashlight = new BBMOD_SpotLight();
// Make the flashlight visible only in the forward render pass
flashlight.RenderPass = (1 << BBMOD_ERenderPass.Forward);

See also

BBMOD_ERenderPass

Do you find this page helpful?

Copyright © 2024, BlueBurn. Built on April 26, 2024 using GMDoc.