A variable defined in BBMOD_Light.gml
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.
flashlight = new BBMOD_SpotLight();
// Make the flashlight visible only in the forward render pass
flashlight.RenderPass = (1 << BBMOD_ERenderPass.Forward);
Copyright © 2024, BlueBurn. Built on September 07, 2024 using GMDoc.