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

[3.x] Allow non-power-of-two directional shadow size in 3D #54042

Open
wants to merge 1 commit into
base: 3.x
Choose a base branch
from

Commits on Jun 27, 2023

  1. Allow non-power-of-two directional shadow size in 3D

    This allows for more finegrained performance/quality tuning, especially
    at higher sizes. Any number can be used. 3072 and 6144 are sensible
    shadow sizes that can be used if the default 4096 is too slow or
    too low-resolution for a large scene.
    
    This also updates the point light shadow atlas size property hint
    to reflect that it can be changed without restarting the engine.
    Nonetheless, it's still rounded to the next power of 2 since the
    atlas relies on dimensions being powers of 2.
    Calinou committed Jun 27, 2023
    Configuration menu
    Copy the full SHA
    132b8a9 View commit details
    Browse the repository at this point in the history