Is it possible to clip a mesh based on another mesh? For example, rendering just the shoestrings in the following model [photography. but, it gets the point across]. Ie, I just need to see 1 specific mesh. But, I don’t want to render the parts that would be hidden by another.
I have a feeling this may be a limitation of WebGL rendering. But, any insight would be appreciated.
1 Like
You can render the meshes you don’t want to see with disableColorWrite = true
for their materials. That way, they won’t be seen but will still update the zbuffer:
Fantastic. Thank you!