What do the sliders & buttons in the Spotlight properties do?

Article Details



Poster: Morten
Article ID: 531
Posted: Fri 29 Jan 2016
Approved: Yes

QUESTION
What do the sliders & buttons in the Spotlight properties do?

ANSWER



Cone Angle: This slider specifies how wide the beam of the light should be.

Show light source: This On/Off button shows/hides the spotlight mesh.

Night activation: All lights with the 'On' property switch on at the same time at sunset (which is ideal for streetlights for example). All lights with the 'Random' property switch on at a random time around sunset.

Optimize for: Choose the shadow types that should be used.
  • Accuracy: The shadows are updated every frame (Slow!). Every time you add a light with Accuracy turned on, the entire scene has to be rendered once more. Add 10 lights and the scene has to be rendered 10 times more every frame. Each light uses a 1024x1024 pixel shadow texture.
  • Speed: The shadow from the light uses a static 512x512 pixel texture which is not updated (Fast, moderate memory usage)
  • Memory: The shadow from the light uses a static 128x128 pixel texture which is not updated (Fast, very low memory usage)
To reduce render times, we recommend that distant lights (e.g. street lights) in your scene use either the Memory or the Speed option, so that the shadows are not updated every frame. If your graphics card has enough memory, the best option is Speed. You would only ever use Accuracy for your lights if something that casts shadows is moving near the light (a car driving past a street light for example). Or if the light itself moves/rotates (stage lighting for concerts for example). Or if you need high-resolution shadows in certain areas (typically close-ups of interiors).

Please note that shadows from Spotlights are not displayed all the time for performance reasons. If you render an image or a video the shadows will appear again. Click here to see how to preview shadows from Spotlights.

Target Light(s): Click on a surface that you would like the Spotlight to point at.


See Also:
Copy/Paste Colors From Elsewhere: in Article How do you change the color of cars, trees and furniture?



SA Knowledge Base
© 2011 - 2017 SMFHacks.com