- Home /
Question by
Zorbaxy · Apr 04, 2017 at 04:58 AM ·
spritespriterendererocclusion cullingoverdraw
Occlusion Culling for 2D sprite (SpriteRenderer)
I have 2 sprites that are one behind another, result is one object is fully overdrawn by another.
Objects are generated dynamically and are static, so object that is behind will never be visible. There are many overdrawn that happens on generation of objects, and many different object can overdrawn each other. Is it possible to detect this and delete the object?
PS. Partially visible object shouldn't be deleted.
overdrawn.png
(10.7 kB)
Comment
Your answer
![](https://koobas.hobune.stream/wayback/20220612114547im_/https://answers.unity.com/themes/thub/images/avi.jpg)