-
-
Notifications
You must be signed in to change notification settings - Fork 3.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Increase the
MAX_DIRECTIONAL_LIGHTS
from 1 to 10 (#6066)
# Objective Currently we are limiting the amount of direction lights in a scene to one. ## Solution Increase the amount of direction lights from 1 to 10. This still is not a perfect solution, but should unblock many use cases. We could probably just store the directional lights similar to the point lights in an storage buffer, allowing for an variable amount of directional lights. Co-authored-by: Kurt Kühnert <51823519+Ku95@users.noreply.github.com>
- Loading branch information
1 parent
54a1e51
commit 701ed8c
Showing
3 changed files
with
132 additions
and
82 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters