Skip to content

LightmapGI: Limit the number of lights computed per direct pass #107946

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

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

BlueCube3310
Copy link
Contributor

An attempt to fix #106975

Limits the amount of lights that can be computed during a single pass.

@jcostello
Copy link
Contributor

I will test this. Does it make sense to also use max_rays_per_pass for each light in the direct light calculation?

@jcostello
Copy link
Contributor

Still happen with only one light and higher texel density (2.5) in the MRP. Try my suggestion in the comment above

@Calinou Calinou added the crash label Jun 26, 2025
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.

Lightmap bake crashes at direct light calculation
3 participants