-
-
Notifications
You must be signed in to change notification settings - Fork 4.3k
Misc solari cleanup #22347
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
Misc solari cleanup #22347
Conversation
| var rng = cell_index + constants.frame_index; | ||
| if active_cell_id.x >= world_cache_active_cells_count { return; } | ||
|
|
||
| // TODO: Initialize newly active cells with data from an adjacent LOD |
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.
We should probably keep the TODO
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.
Nah I'm not a big fan of TODOs in code, and I'm not sure what shape it'll take if we ever add it. E.g. it might make more sense to have a dedicated step each frame to propagate finer LODs into coarser LODs, and skip the coarse LOD update entirely or something.
Small cleanup PR to prep for a future PR (no functional changes).
Easiest to review if you hide whitespace changes in the diff.