Sodium useEntityCulling
andreasdc opened this issue ยท 7 comments
Does this option makes EntityCulling unnecessary?
https://github.com/CaffeineMC/sodium-fabric/blob/ac3bc61fb0c8f5f7092cbcc03b395b853cce213e/src/main/java/me/jellysquid/mods/sodium/client/render/SodiumWorldRenderer.java#L381C9-L381C9
As stated on the mod page, no.
"If enabled, entities determined not to be in any visible chunks will be skipped during rendering. This can help improve performance by avoiding the rendering of entities located underground or behind walls."
So the Sodium's check should check for walls too.
Again: Sodium does it on a CHUNK basis. So if the entire subchunk is not visible(for example underground caves), there is no reason to render mobs in there. EntityCulling works based on the actual blocks, so entities inside a house or basement are not rendered while not inside.
These just share the name, they work entirely differently and have other purposes(Sodium has it as a byproduct when determining which subchunks to render in the first place).
So if you are on the same chunk and there are entities under ground you still see them?
Just... leave sodium's option turned on and that's it.
Ok, but I'm asking if the EntityCulling is needed and does it improve performance with Sodium's option.