tr7zw/EntityCulling

Entities incorrectly culled at certain third person perspectives

Closed this issue · 7 comments

SPINZ1 commented

When the player is positioned in front of blocks, entities are culled at certain third person camera angles despite being otherwise visible on screen

1.20.1 Fabric
All mods:
image
https://github.com/tr7zw/EntityCulling/assets/145732023/b3cd7c1e-dd4c-4684-acdb-5c35e00b1cf4

tr7zw commented

Nothing I can do without an example.

tr7zw commented

Also, perhaps a duplicate of this (is the camera hitting a wall/ceiling)?

SPINZ1 commented

Yes

SPINZ1 commented
2023-09-21.20-45-52-1.mp4

I've got an exact setup where i reproduced the issue

  1. Create a world with seed -5397288099815253827
  2. Do /tp @s -101.5 69.0 -37.5 0.0 0.0
  3. Press F5 twice

you should get this result https://youtu.be/dVzwpJ4Ezao

tr7zw commented

Yea I noticed that too recently on the latest version. From what I can tell the F5 camera slightly clips into the block, causing this behavior. I will fix that next update by probably making rays starting inside blocks being allowed to pass blocks till it's out once. It should also fix spectator mode hopefully.

Fixed in 1.6.4