A point light is a point in 3D space that emits light in every direction. A real world example of a point light is a light bulb. You can use point light to simulate light bulbs, lamps, and candles, for example.
1. | Select 3D > Lights > Point to insert a Point node in your script. |
2. | Connect the Point node to the Scene node. |
3. | In the Point node’s controls, adjust the following: |
• Drag the color slider to change the light color.
• Drag the intensity slider to change the brightness of the light.
• To control how much light the object gets from the light source (based on the distance between the object and the light source), use the falloff type dropdown menu. A Linear type diminishes the light at a fixed rate as it travels from the object, whereas Quadratic and Cubic types diminish the light at an exponential rate. If you select No Falloff, the distance between the light source and the object does not affect the lighting.
• To control the position of the light in the 3D space, enter values in the translate fields.
• To adjust the settings for shadows, change values for the controls on the Shadows tab. Note, however, that the Point light doesn’t cast shadows if you’re using ScanlineRender. For more information on these controls, see Casting Shadows.