Turn up a light in the current room
0.86.4.0 / Trace the lamp write > p. 33
CHAPTER 11 / LIVE LIGHTING
Use the room-entry action from page 9, or place it on a switch. Pick a light close to a surface so the change is easy to see.
Same camera and workbench in the Runner. Left, the warm light is at 0. Right, it is at 2.5. Other lights in the room are still on in both pictures.
1 Choose the light. Set Change Object Property to Scene lab and Object lab_warm. Choose light.intensity. The reference describes a writable live float. Zero turns off this light’s contribution. A negative intensity is invalid.
2 Set the brightness. Enter 2.5 in To. Choose room for a change that lasts this visit. Apply and save. For a before-and-after on the same switch, start the lamp at 0 in the Scene Designer and activate the switch during play.
3 Look at the surfaces the lamp reaches. Notice the lit floor and bench, even with the blue room lighting still on. The Runner reported an immediate update and a live intensity of 2.5. The room and camera stayed in place.
Brightness versus reach
If a nearby surface brightens but the far wall does not, check the light’s range. A point or spot light uses light.distance, with a minimum of 0.01. A spot light also has light.spotAngle. Choose a property supported by the selected light type.
