-
Notifications
You must be signed in to change notification settings - Fork 111
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
Rewrite facade rendering #945
base: dev/1.21.1
Are you sure you want to change the base?
Conversation
This could be improved quite a bit if there was a map of chunks that had facades; but adding that right now seems potentially out of scope. |
I've added a chunk map, fixing the above issue. It will check if the chunk has any facades, skipping the expensive lookup step. |
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.
I think most of this is good, just some small nitpicks. I do however think an alternative path to not render anything (or a replacement transparent overlay) when shaders are active is needed. This should be linked to a config as wel IMO (I don't mind doing this myself if you haven't worked with the neo config system yet). Thanks for the PR!
Description
This rewrites facade rendering to always use the additional chunk buffering system. Additionally, bugs have been fixed with shaders and mods, and the block breaking overlay now correctly shows when breaking a facade.
Checklist