Now that the light is attached the mountain, when rendering the grid of mountains, it should be lit nicely. Oops, but my scene now crashes after rendering the 10th mountain. Turns out, there is a limit to the number of lights you can have. I think it’s because each light is using a texture for the shadow calculation and there is a maximum number of textures that can be used.
So this is a bit of a problem, maybe what I can do is isolate the light and move it around instead and capture each light separately? I’m not quite sure what to do.