Transparency and Emission Does not Render Correctly on Transparent Background #74447

Closed
opened 2020-03-04 21:48:55 +01:00 by Tom Wright · 12 comments

System Information
Operating system: Windows-10-10.0.18362-SP0 64 Bits
Graphics card: GeForce GTX 1080/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 441.66

Blender Version
Broken: version: 2.82 (sub 7), branch: master, commit date: 2020-02-12 16:20, hash: 77d23b0bd7
Worked: (optional)

Short description of error
When rendering an emissive transparency on top of a transparent background (either Eevee or Cycles) the transparent object's material color becomes completely desaturated. This only happens in the render (F12) not in the viewport camera.

Exact steps for others to reproduce the error
In Render Properties, go to Film and turn on Transparency.
Create a sphere, add a mix shader with transparent and emissive and make it mostly transparent to see the results better (Factor of .05 or so).
Crank the emissive node up to maybe 50 and give it a color 1,0,0 for pure red.
In viewport camera, you see what you would expect, a red-ish emissive sphere with some transparency. When rendered however, the sphere will be almost completely desaturated of color.
Turn on bloom in Eevee to get the effect even more.
In the viewport, you will see the bloom and it look as it should but when rendered, no bloom and no color.

In this image, the left version is rendered with a transparent background and composited in, the right is rendered with the background in place (no alpha).
https://imgur.com/a/3swdIuf

**System Information** Operating system: Windows-10-10.0.18362-SP0 64 Bits Graphics card: GeForce GTX 1080/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 441.66 **Blender Version** Broken: version: 2.82 (sub 7), branch: master, commit date: 2020-02-12 16:20, hash: `77d23b0bd7` Worked: (optional) **Short description of error** When rendering an emissive transparency on top of a transparent background (either Eevee or Cycles) the transparent object's material color becomes completely desaturated. This only happens in the render (F12) not in the viewport camera. **Exact steps for others to reproduce the error** In Render Properties, go to Film and turn on Transparency. Create a sphere, add a mix shader with transparent and emissive and make it mostly transparent to see the results better (Factor of .05 or so). Crank the emissive node up to maybe 50 and give it a color 1,0,0 for pure red. In viewport camera, you see what you would expect, a red-ish emissive sphere with some transparency. When rendered however, the sphere will be almost completely desaturated of color. Turn on bloom in Eevee to get the effect even more. In the viewport, you will see the bloom and it look as it should but when rendered, no bloom and no color. In this image, the left version is rendered with a transparent background and composited in, the right is rendered with the background in place (no alpha). https://imgur.com/a/3swdIuf
Author

Added subscriber: @ThomasWright

Added subscriber: @ThomasWright
Member

Added subscriber: @EAW

Added subscriber: @EAW
Member

F2A2AB09-9D2C-4C93-862B-A4B9B9139D4E.jpeg

The image in the link above.

![F2A2AB09-9D2C-4C93-862B-A4B9B9139D4E.jpeg](https://archive.blender.org/developer/F8388713/F2A2AB09-9D2C-4C93-862B-A4B9B9139D4E.jpeg) The image in the link above.

Added subscriber: @iss

Added subscriber: @iss

Changed status from 'Needs Triage' to: 'Needs User Info'

Changed status from 'Needs Triage' to: 'Needs User Info'

Can you please upload simple .blend file demonstrating this?

Can you please upload simple .blend file demonstrating this?

Added subscriber: @rjg

Added subscriber: @rjg

Based on the description this could be a duplicate of #52680

Based on the description this could be a duplicate of #52680

Added subscriber: @brecht

Added subscriber: @brecht

Changed status from 'Needs User Info' to: 'Archived'

Changed status from 'Needs User Info' to: 'Archived'
Brecht Van Lommel self-assigned this 2020-03-05 11:16:44 +01:00

Yes, it's the same issue as #52680 (Alpha difference Viewport/F12 ).

In general if you want to use that image for compositing in other software, you need to save it in a file format like OpenEXR which supports emission without opacity, which e.g. PNG does not support.

Yes, it's the same issue as #52680 (Alpha difference Viewport/F12 ). In general if you want to use that image for compositing in other software, you need to save it in a file format like OpenEXR which supports emission without opacity, which e.g. PNG does not support.
Author

Thank you! Yes, the OpenEXR works perfectly. Just have to Gamut back to sRGB.

Thank you! Yes, the OpenEXR works perfectly. Just have to Gamut back to sRGB.
Sign in to join this conversation.
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset Browser
Interest
Asset Browser Project Overview
Interest
Audio
Interest
Automated Testing
Interest
Blender Asset Bundle
Interest
BlendFile
Interest
Collada
Interest
Compatibility
Interest
Compositing
Interest
Core
Interest
Cycles
Interest
Dependency Graph
Interest
Development Management
Interest
EEVEE
Interest
EEVEE & Viewport
Interest
Freestyle
Interest
Geometry Nodes
Interest
Grease Pencil
Interest
ID Management
Interest
Images & Movies
Interest
Import Export
Interest
Line Art
Interest
Masking
Interest
Metal
Interest
Modeling
Interest
Modifiers
Interest
Motion Tracking
Interest
Nodes & Physics
Interest
OpenGL
Interest
Overlay
Interest
Overrides
Interest
Performance
Interest
Physics
Interest
Pipeline, Assets & IO
Interest
Platforms, Builds & Tests
Interest
Python API
Interest
Render & Cycles
Interest
Render Pipeline
Interest
Sculpt, Paint & Texture
Interest
Text Editor
Interest
Translations
Interest
Triaging
Interest
Undo
Interest
USD
Interest
User Interface
Interest
UV Editing
Interest
VFX & Video
Interest
Video Sequencer
Interest
Virtual Reality
Interest
Vulkan
Interest
Wayland
Interest
Workbench
Interest: X11
Legacy
Blender 2.8 Project
Legacy
Milestone 1: Basic, Local Asset Browser
Legacy
OpenGL Error
Meta
Good First Issue
Meta
Papercut
Meta
Retrospective
Meta
Security
Module
Animation & Rigging
Module
Core
Module
Development Management
Module
EEVEE & Viewport
Module
Grease Pencil
Module
Modeling
Module
Nodes & Physics
Module
Pipeline, Assets & IO
Module
Platforms, Builds & Tests
Module
Python API
Module
Render & Cycles
Module
Sculpt, Paint & Texture
Module
Triaging
Module
User Interface
Module
VFX & Video
Platform
FreeBSD
Platform
Linux
Platform
macOS
Platform
Windows
Priority
High
Priority
Low
Priority
Normal
Priority
Unbreak Now!
Status
Archived
Status
Confirmed
Status
Duplicate
Status
Needs Info from Developers
Status
Needs Information from User
Status
Needs Triage
Status
Resolved
Type
Bug
Type
Design
Type
Known Issue
Type
Patch
Type
Report
Type
To Do
No Milestone
No project
No Assignees
5 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: blender/blender#74447
No description provided.