Closed Aeva closed 8 years ago
The deferred renderer now supports spot lights, point lights, and sun lights. Of those, only spot lights cast shadows at the moment. Eventually all three types should support shadows, but that is the scope of other tickets. Point lights would need texture cubes and probably some changes to the compositing graph; sun lights would be like orthographic point lights, but there is some logic needed to determine where the light's camera's virtual position would be.
This ticket covers adding support for the following types to m.light.js and the deferred renderer:
To keep things issue, casting shadows for either of the above should be in separate tickets, and that their "casts shadows" property should be frozen false for now.