I was playing around with wireframe mode and noticed that my animal meshparts were not occluding. Thought this was bug until I experimented and found that meshparts as a whole just dont occlude at all. You can see in the video the blue MeshPart is still getting rendered despite the regular exactly same sized red Part is not getting rendered. Luckily My game has a vanishingly few amount of meshes but this is still a problem if our team expands the map to have more animals.
+1. I dont have much to add, the repro is very clear. Add a meshpart behind a part and enable viewframe rendering and you will see the issue immediately.
The issue here is that the meshpart that you are using doesn’t have a MeshContent. The occlusion culling system associates an occlusion mesh with a mesh content.
Do your animal meshparts also not use MeshContent?
In any case, the fact that OC doesn’t work with meshparts without a MeshContent is probably just an oversight. Thank you for reporting the issue and I’ll keep you updated on when we can get a fix in.
Thanks! though I checked and my animals do have MeshContent and unfortunately still do not occlude properly. Below is a video of it in a raw baseplate with one of the meshes. I couldn’t send the full RBXL so I just sentt he RBXM of my animal which should be easy to repro.
This is a skinned mesh - and you’re correct that occlusion culling does not support skinned meshes right now.
I recently rolled out occlusion culling for FastClusters (our rendering systems for skinned meshes and humanoids), but it is not enabled on Studio yet.
I will keep you updated on when it is enabled in Studio.