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

Make falling leaves visible in depth and segmentation #3699

Merged
merged 1 commit into from
May 25, 2021

Conversation

saihv
Copy link
Contributor

@saihv saihv commented May 16, 2021

Partially addresses #3695.

About

Enable depth passes for 'falling leaf' particles to show up in depth and segmentation images.
The same method can be followed for snow, in case someone is interested in seeing snow particles in depth etc.

The fix is two-fold:

  1. Make the corresponding material opaque instead of translucent

drawing

  1. Enable custom depth pass for the particle emitter in the rendering options within Weather Actor.

image

How Has This Been Tested?

Enable Weather and falling leaves.

Screenshots

image

@saihv
Copy link
Contributor Author

saihv commented May 16, 2021

Unfortunately the same method doesn't apply for dust/fog, as they are volume materials applied as an additive blend (add material color to actual background color during scene render), and it is unlikely additive blends are used in depth buffer.

@Deepakgthomas
Copy link

Thank you @saihv for the quick fix!

@jonyMarino
Copy link
Collaborator

Thanks, Sai! Does this also affect the lidar output?

@jonyMarino jonyMarino merged commit fbe35cf into microsoft:master May 25, 2021
zimmy87 added a commit to zimmy87/AirSim that referenced this pull request Jul 7, 2021
…Seg"

This reverts commit fbe35cf, reversing
changes made to 747d3f3.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants