Maniphest T95066

Transpared image rendered in Eevee when its saved its all white
Closed, Duplicate

Assigned To
None
Authored By
Slobodan (Vido)
Jan 19 2022, 8:24 PM
Tags
  • BF Blender
Subscribers
Germano Cavalcante (mano-wii)
Slobodan (Vido)

Description

System Information
Operating system: Windows-10-10.0.19042-SP0 64 Bits
Graphics card: AMD Radeon HD 5570 ATI Technologies Inc. 4.5.13399 Core Profile Context 15.200.1062.1004

Blender Version
Broken: version: 3.1.0 Alpha, branch: master, commit date: 2022-01-18 22:23, hash: rB2e5aecf557fb
Worked: (newest version of Blender that worked as expected)

Short description of error

I guys, I have my "volumetrics" scene in blender 3.0 and when I render image with transparent background in Eevee render engine in viewport it has "check board" shown but when I save image from render screen its all white. I have set in render properties under "Film" to transparent I have set color "RGBA" and File format to PNG under Properties. What Im doing wrong ?

Edit: When I uncheck transparent under film I getting correct imaga with black background

Exact steps for others to reproduce the error
First Bake than save image from render screen to pc,

, Im getting white image
[Based on the default startup or an attached .blend file (as simple as possible)]

Event Timeline

Slobodan (Vido) created this task.Jan 19 2022, 8:24 PM
Slobodan (Vido) renamed this task from Rendered image from Eevee when saved it all white to Transpared image rendered in Eevee when its saved its all white.Jan 19 2022, 8:33 PM
Slobodan (Vido) updated the task description.Jan 19 2022, 9:22 PM
Germano Cavalcante (mano-wii) changed the task status from Needs Triage to Needs Information from User.Jan 20 2022, 4:18 PM
Germano Cavalcante (mano-wii) added a subscriber: Germano Cavalcante (mano-wii).

The bake is taking a lot of time for me.
I see you are using composition. Have you tried connecting the Alpha spot?

Slobodan (Vido) added a comment.Jan 20 2022, 4:48 PM

I found on the net that render layer is not connected to composite and that's why I have it checked. I just tried to connect alpha to alpha and I got this

do you see like outline on image

Germano Cavalcante (mano-wii) added a comment.Jan 20 2022, 5:12 PM

I see now. This is the same problemas as T81199: Some effects [bloom, smoke, fire, ..] still don't save in PNG with transparent background (occlusion vs. emission)
In summary, PNG doesn't support emission colors.
For PNG it is confusing to define how an emission behaves when it is transparent.
Try saving in another format.

Germano Cavalcante (mano-wii) added a comment.Jan 20 2022, 7:31 PM
In T81199#1291907, @Slobodan (Vido) wrote:

I tried to save render to .exr, .tga and .tif all I get is empty image, just check board

Maybe you're not using a good image viewer.
Remembering that the alpha is 100% in the entire image.
The emission, in the real world, beats transparency.

Here is the result of the render as EXR. It works as expected.

You can test with an Online Image Viewer if you prefer.
https://viewer.openhdr.org/

Slobodan (Vido) added a comment.Jan 20 2022, 8:32 PM

Aha ok I see tnx, so GIMP does not open OpenEXR correctly but the Blender nether, when I open your "untitled.exr" in Video editing I get transparency shown only

Germano Cavalcante (mano-wii) added a comment.Jan 20 2022, 11:08 PM

Blender shows it correctly for me.
GIMP you have to take the alpha channel out to see.

Anyway, it's the exact same problem as T81199, and the developers are already aware and looking for an ideal solution for it.

Germano Cavalcante (mano-wii) added a comment.Jan 20 2022, 11:29 PM

Editing the alpha of the image, you can have a result that "works" in PNG.

Slobodan (Vido) added a comment.EditedJan 21 2022, 12:16 AM

@Germano Cavalcante (mano-wii) tnx for helping out but it does not work for me

https://youtu.be/lM8HE0znRFw

Edit; When I open your exr in gimp and go on layer and remove alpha I got just white picture, so what Im doing wrong ?
Edit2: Ok so I found that I need first to add layer mask and select "transfer layer alpha channel" and then delete "layer mask" to reveal image but background is black and I need to have blue ball visable and alpha around it ...

So I also tried your compositing and does not work for me I get white .png when I save render