The goal is to simulate lighting similar to these images:
There is little documentation on SceneKit lighting, and how different lighting types interact with each other (e.g., what happens if you add a spot light to a scene with an ambient light already there), so through painful trial-and-error, we have gotten this far:
As shown in the Scene Graph, there is an ambient light and a spot light. (The omni light and the directional light are hidden.) The shadows and lighting are pretty good inside the spot's cone, but everything beyond the cone of light is black.
Question 1: how do you make it so the area outside the spot's cone is not black? There is an ambient light in the scene (not the default one, one was explicitly added), so shouldn't that brighten the areas outside the cone?
Question 2: Ideally, the whole scene would be litas if inside the cone while preserving the shadows. Is this possible? Moving the spot to a high Y value (e.g., 1000) lights up the whole scene, but the cool shadows vanish.
Question 3: In the screenshot below, enabling the omni light washes out the spot's cone. Is this expected behavior? How can you combine the lights so they don't wash each other out?
Screenshot 2 (enabling omni light washes out spot lighting):