Skip to content
renderStacks by QuasiKrystal

[LO] LightOn

[LO] LightOn – 1 per pass, Custom Object, Preset

Turns light objects on or off. Some lights use the property "On". Other lights can use "Enable". This pmodifier sets the correct property for each light.

To add objects from the scene selection, use Add Selected Objs from the Scene in the right-click menu.

LightOn pmodifier panel with four lights and their on/off checkboxes

Instanced Lights

LightOn pmodifier with the instanced lights Omni006 and Omni007 in one groupThe list shows instanced lights as a group. Thus, when you add lights to the list, it shows only unique lights.

A light name that shows as a dropdown is an instanced light. Open the dropdown to see the list of its instances.

Control By Layer

LightOn pmodifier with the #Light and #LightLayer typesNew in 1.1. Turns lights on or off by layer, not by object. This is a method between ObjParams and ManyObjParams.

  • #Light – add individual light objects.
  • #LightLayer – add layers that have lights. renderStacks turns all lights on the layer on or off.

You must select one of the two. You cannot use individual objects and layers together.

When you control by layer, be careful with instanced lights. If instanced lights are on different layers, the result can be different from what you want.

When you change between #Light and #LightLayer, a warning dialog opens. It tells you that renderStacks clears all items in the current list.

Message that a change of the item type clears the existing data