- Home /
How would I partially hide an object like a sphere if part of it falls behind or below a plane/object?
I need to put a ball into a flat hole and don't want to show the bottom of it coming out of the hole (which is a flat round plane). Occlusion culling seems to just work for the entire object. Maybe like a stencil buffer or something? Thanks!
Comment
If the plane has a hole in the mesh, the portion of the sphere inside the hole should not be visible: the bottom part of the sphere should be occluded by the plane due to the Z-test. Are you using a transparent shader in the plane?
Your answer
Follow this Question
Related Questions
Occlusion Culling 1 Answer
Dynamic moving occluder? 0 Answers
Occlusion Culling disables my point lights. 4 Answers
Occlusion culling doesn't works. 1 Answer
Occlusion Culling Question 1 Answer