-
-
Notifications
You must be signed in to change notification settings - Fork 507
Description
Description
I believe that the ocean shader and most of the scripts are oriented around a single primary light source to generate the light on the surface of the ocean relative to the sun and underwater lighting.
It would be great to be able to add a list of direct lights for the following cases:
- Planets with multiple suns
- Simultaneous moon light and sun light during phased orbits
- Sci-fi environments
Performance may be a concern but I would think that using 1 light would still be the same and more than 1 would be optional.
It would also be nice to have support for basic light sources besides direct lights. Perhaps it is possible to move away from the concept of direct light sources and list light sources in general that should be included. That way performance would not be as much of a concern because only lights you assign would be use to generate surface lighting or underwater lighting. That is more related to a separate issue though: #357