Camera Include Only Meshes

Is there a camera include/exclude list that i can use to tell the camera to only render selected meshes, like a culling mask… Like the light.includeOnlyMeshes ???

For this you can rely on LayerId basically a camera will render everything containing the layerId this works as a bot mask.

Actually, the property is called layerMask.

2 Likes