project - icon

EntityCulling

Client mod

Using async path-tracing to hide Block-/Entities that are not visible

optimization

30.9K downloads 211 followers
Created a month ago
Updated a month ago

External resources


Featured versions


Project members

profile-picture

Owner


Technical information

License
Client side
required
Server side
unsupported
Project ID
NNAgCjsB

EntityCulling

Using async path-tracing to skip rendering Block/Entities that are not visible.

Minecraft skips rendering things that are behind you, so why is it rendering everything that you still can't see because of a wall in the way? This mod utilizes your other CPU cores/threads to do really quick path-tracing from your camera to all block/-entities to determine rather they are visible or not. During the rendering, the not visible ones will be skipped the same way entities behind you are.

Dependencies

  • none

Incompatible

  • none (With some mods you might need to add the blocks to the config whitelist to fix visual issues)

Tested with

  • Sodium
  • Iris
  • Optifine

Note to why it works even with Sodium/Optifine

This has been tested with other mods, Optifine(Optifabric), Iris, and Sodium, in all cases resulting in fps gains in places like Game Server lobbies.

You might wonder why it does increase the FPS with Sodium since Sodium has "Use Entity Culling" in its Advanced settings and enabled by default. The difference is that Sodium does a really quick pass based on the visible chunks, being way less aggressive and thereby still rendering entities that just happen to be in visible chunks, but not visible themselves.

FAQ

Does this have to be installed on the Server?

No, this is fully Client-side and can't be installed on servers.

Will this influence farms/mobs?

No. Since this mod just skips the rendering, mobs will still spawn/move/drop items.

Credits

RoboTricker created the original server-side async raytracing occlusion culling implementation for Transport-Pipes.