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

Save Alpha Channel with Transparent Backgound #457

Open
Gaozhongpai opened this issue Nov 7, 2024 · 1 comment
Open

Save Alpha Channel with Transparent Backgound #457

Gaozhongpai opened this issue Nov 7, 2024 · 1 comment

Comments

@Gaozhongpai
Copy link

Can we save the alpha channel (i.e., RGBA) with a transparent background?

@mmp
Copy link
Owner

mmp commented Nov 8, 2024

There's no current functionality to do that. It probably wouldn't be too hard if you only care about alpha for rays that hit/don't hit geometry. If you want partial alpha for volumetrics, you'd have to update the VolPathIntegrator to compute the full transmittance for camera rays; currently it doesn't keep ray-marching to compute transmittance (or check for geometry behind the volumetric) if there's a scattering event inside the volumetric.

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