Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Class segmentation not work for object with translucent material #8

Closed
zhezhou1993 opened this issue Aug 11, 2019 · 2 comments
Closed

Comments

@zhezhou1993
Copy link

zhezhou1993 commented Aug 11, 2019

I tried to export class segmentation image with scene has object with translucent material. It looks like the segmentation cannot gave any output of those objects. I think it may caused by translucent material doesn't write to depth buffer and it won't work with depth grabber and segmentation? If it is true, anyone has any workaround idea?

@zhezhou1993
Copy link
Author

Just find a solution for that:

  1. Check Allow Custom Depth writes for the material
  2. Change Opacity Mask Clip Value to 0 for the material instance

@bmunkhtulga
Copy link

Thanks for solution. I got it working with class segmentation. But did you make it work with depth image? In my case, in the depth image there is nothing.

This is class segmentation.
000000 cs

And below is depth image.
000000 depth

000000

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants