0
$\begingroup$

So first time actually posting a question here, but I just can't seem to find a solution. So I made this fire ramp shader for a project I'm working on, and I want to have a transparent background for comp purposes. However, whenever I try to export using png the albedo details of the shader turns white when there's nothing behind it. I tried exporting it using OpenEXR as well, and that seemed to work for some reason. I don't want a 32bit image though, and would preferably keep it as a png.

Below is two images, one from blenders render window, and one exported using png with a solid background for better visualization of the problem. enter image description here enter image description here

I'm at a complete loss, so if anyone got a solution I would be grateful!

$\endgroup$
10
  • $\begingroup$ Hello :). I'm no expert, but I'm afraid PNG doesn't support both emissive and transparent pixels. EXR is the way in compositing. $\endgroup$ – Jachym Michal Jan 5 at 17:48
  • $\begingroup$ Does this answer your question? Render semi-transparent volume with cycles, Transparent Image different in viewport than render, $\endgroup$ – Jachym Michal Jan 5 at 17:50
  • $\begingroup$ Aah, well that's annoying, guess I'll have to find a suitable solution then ^^' But thanks a lot! now i at least know what the issue is :) $\endgroup$ – Jakob Poulsgærd Jan 5 at 18:00
  • 1
    $\begingroup$ @JachymMichal premultiplied and straight can be misleading terms, Associated and unassociated alpha seem more appropriate. If you want to read further read troy_s ' Hitchiker's guide to digital color hg2dc.com/2020/08/26/question-25 $\endgroup$ – susu Jan 5 at 20:01
  • 1
    $\begingroup$ @JachymMichal but you are way on your way to be one! $\endgroup$ – susu Jan 5 at 20:22