-
-
Notifications
You must be signed in to change notification settings - Fork 21.3k
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
[3.x] Fix alpha scissor shadow casting support #58959
Conversation
512330c
to
a88a050
Compare
Huh, just forcing it to run again fixed it. |
PS: You need to add a blank line after |
The logic is escaping me, so I am going to write some notes about how I understand what is going on: First Then we get to your change. You have added a check to whether alpha scissor is used. This way, even if an object has alpha, it will be forced into the opaque pass if alpha scissor is used. But, following the logic above, when alpha scissor is used, Okay, on reflection, I don't think this is the right approach for two reasons:
|
Fair enough, I will look into it again tomorrow. |
a88a050
to
2fb998b
Compare
Had some spare time to look into this again. You were right, there was a significantly cleaner solution to this than to just assume that everything with alpha scissors was either fully transparent or opaque. |
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 work!
Thanks! |
Cherry-picked for 3.4.4. |
3.x version of #58954, should fix #58924.