-
Notifications
You must be signed in to change notification settings - Fork 33
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
Cull shapes dynamically for resource packs #225
Comments
A user in the VanillaXBR Discord server has recently brought a More Culling issue to our attention. It appears that More Culling is over-agressively culling faces of blocks behind trapdoors, allowing you to see through the block through the hole in the trapdoor. This only happens on Jungle, Mangrove, and Cherry trapdoors. It only happens when using the VanillaXBR resource pack (deactivating the pack to use the built-in vanilla textures removes the bug). It also only happens when BlockState Culling is turned on. Is this related to this same issue, or should I open a new issue? |
Yes, that is exactly the matter of this issue. You can suggest trying the 0.20.3 version, it helped in my case. |
The part that confuses me is why this affects only some trapdoors in the resource pack and not others? I inspected the files in the pack very carefully and I can't find anything that sets the Jungle, Mangrove, and Cherry trapdoors apart from the others. |
It has been suggested that all that is needed to fix this currently is to add useModelShape: true to the models in the resource pack (https://github.com/fxmorin/MoreCulling/wiki/Resource-Packs) however I have made this modification to the VanillaTweaks 3D trapdoor models and it has not changed the behaviour. Only disabling the BlockState Culling option in MoreCulling resolves the issue for me (Fresh 1.20.4 MoreCulling 0.22.1 Fabric with no other mods or Resource Packs). I see the issue on all trapdoors that have transparent elements. Here is one of the models that I modified (bamboo_trapdoor_top.json) - I modified all models (with a script) in the same way: Removing the "cullface" key from each face prevents the issue from occurring. |
Should be fixed in v0.23.0 |
No problem. Thank you for all the work you're putting into these mods. For me they are the reason I can use cool 3D model resourcepacks and not crush my laptop 😀. |
I mentioned in my earlier comment that adding useModelShape: true to the models did not work for me with the VT 3D trapdoors. I have only been able to work around it by removing all the cullface keys from the models, but this is I assume less than ideal. There seems to be something more to this issue with VT 3D trapdoors. |
Ill need to find time to check, but im guessing that VT, isnt just using a normal model. |
I'm having the exact same issue with another 3d doors resource pack, "Door Tweaks" (using 1.20.4) I've found that for both Vanilla Tweaks and Door Tweaks: Grass Blocks, Podzol, Myceilium, Dirt, Rooted Dirt, Stone, Deepslate, Netherrack, and Sand are not affected by the rendering bug, you can't see through them. (Also, there are probably more I haven't tested.) Weird that these are the exceptions. |
The text was updated successfully, but these errors were encountered: