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

Static shadows #28

Open
BearishSun opened this issue Mar 16, 2018 · 0 comments
Open

Static shadows #28

BearishSun opened this issue Mar 16, 2018 · 0 comments
Labels
OFFICIAL type: enhancement [MAJOR] Feature that takes a few weeks up to few months to implement
Milestone

Comments

@BearishSun
Copy link
Member

Objects and lights can be defined as static, but these properties are currently not used by the shadowing system. Instead shadows are re-rendered every frame, which can be prohibitively expensive. When generating shadow maps for static objects and lights, it would be best to group such static objects into a shadow map of their own, which remains static throughout the light's lifetime. All other objects should be rendered into a separate shadow map which is updated per-frame.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
OFFICIAL type: enhancement [MAJOR] Feature that takes a few weeks up to few months to implement
Projects
None yet
Development

No branches or pull requests

1 participant