Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding shadow intensity control to clustered lighting. #4352

Merged
merged 2 commits into from
Jun 22, 2022

Conversation

GSterbrant
Copy link
Contributor

Highjack the castShadows value to instead pass the shadow intensity. Shadow intensity 0 could just as well be castShadows: false.
Updated the spot light shadow example to allow for controlling the shadow intensity.

Copy link
Contributor

@mvaligursky mvaligursky left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good.

Highjack the castShadows value to instead pass the shadow intensity. Shadow intensity 0 could just as well be castShadows: false.
Updated the spot light shadow example to allow for controlling the shadow intensity.
@GSterbrant GSterbrant force-pushed the gsterbrant_shadow_intensity_clustered branch from 561e44d to 18b5f4b Compare June 22, 2022 09:39
@GSterbrant GSterbrant merged commit 84f6adb into main Jun 22, 2022
@GSterbrant GSterbrant deleted the gsterbrant_shadow_intensity_clustered branch June 22, 2022 09:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: graphics Graphics related issue
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants