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

Visual instance layers are regarded during shadow culling #70638

Merged
merged 1 commit into from
Jan 3, 2023

Conversation

markusneg
Copy link
Contributor

@markusneg markusneg commented Dec 27, 2022

This PR essentially is a cherry-pick from 16517ec (merged for 3.x in #61841) adapted to some rendering server and culling modifications. It addresses #43827, #54613 and #58322 and seems to have the same effect as #61841. Which also means that shadows are not yet updated after changing the Camera cull_mask itself.

Bugsquad edit:

Partially cherry-picked from 16517ec. Todos:
- setting Camera cull_mask should mark affected shadows dirty somehow
@markusneg markusneg requested a review from a team as a code owner December 27, 2022 17:52
@Calinou Calinou added this to the 4.0 milestone Dec 27, 2022
Copy link
Member

@clayjohn clayjohn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me! Tested locally and it appears to work fine

@akien-mga akien-mga merged commit 698ee56 into godotengine:master Jan 3, 2023
@akien-mga
Copy link
Member

Thanks! And congrats for your first merged Godot contribution 🎉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Vulkan: Directional light and shadow layer culling is not rendered correctly
4 participants