-
-
Notifications
You must be signed in to change notification settings - Fork 21.1k
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
Fix cluster artifacts and negative light #82546
Fix cluster artifacts and negative light #82546
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you amend the commit message to fix the typo and make it shorter, like the PR title? A commit message should have a short, imperative sentence as title, and additional context can be given in the body of the message. |
Oki, I think I did it wrong so I'll try to squash it into one commit today. EDIT: Is it ok now? |
2284c3a
to
8a2d345
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great catch!
I can't reproduce the problem locally, but I trust Calinou's testing and the rationale makes sense.
Thanks! |
Cherry-picked for 4.1.3. |
Fixes #78500
Instructions:
Definitely should be merged on top of this PR: #80992
Details:
Just added the same shader adjustment for the cone angle as in this PR: #71832 it might have been just forgotten?
EDIT:
There's one more place which also uses the cone angle, but this time in gles3 shader, which doesn't use the
highp
for the cone angle in case it matters (?), the original author did not rework that one, it might not be an issue but I'm keeping this note here in case in future there's a similar clustered artifact issue with spotlight in gles3 in some other areas, it might not be need to make a change there at all but let's try not to foget it.