BachiLi / redner

Differentiable rendering without approximation.
https://people.csail.mit.edu/tzumao/diffrt/
MIT License
1.39k stars 139 forks source link

Add transparency to material #149

Open dgriffiths3 opened 3 years ago

dgriffiths3 commented 3 years ago

Is there any way to add the transparency for an object? Specifically, I have a network that outputs a per-object confidence value between 0 - 1. When confidence is 1 the object should be fully opaque and vice-versa when 0 not visible at all.