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);

See also


Do you find this page helpful?

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