mmatl / pyrender

Easy-to-use glTF 2.0-compliant OpenGL renderer for visualization of 3D scenes.
http://pyrender.readthedocs.io/
MIT License
1.31k stars 225 forks source link

Occlude one mesh with another, without rendering the occluder #229

Open abelghazinyan opened 2 years ago

abelghazinyan commented 2 years ago

I am trying to render hair, which rear part should not be rendered, so I am trying to occlude it with a face mesh. But setting is_visible False for the face mesh does not work as an occluder.

How I can achieve my needs?