-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Overhaul of directional PCSS shadows #7258
Conversation
I notice that when a cloud's shadow passes over a tree's shadow, the tree's shadow kinda looks like it's overwritten rather than the cloud's shadow only darkening the terrain. Is there any way around that? |
Not using PCSS, similarly to VSM, it does not correctly handle overlapping casters at various distances. |
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.
Very cool.
New implementation of PCSS for directional light:
New public API
GPU Performance at 4K on Apple M1 Pro:
PCF3: 5.0ms
PCSS: 6.3ms // basic quality: blocker samples 8, PCF samples 12
PCSS: 9.1ms // high quality: blocker samples 28, PCF samples 42
PCSS: 6.7ms // medium quality, no contact hardening: blocker samples 0, PCF samples 16
PCSS: 9.7ms // extreme quality: blocker samples 32, PCF samples 64
PCF3
PCSS basic
PCSS high
PCSS no contact hardening
PCSS extreme