eevee: mix holdout with transparent fails #77069

Closed
opened 2020-05-26 02:25:45 +02:00 by paul simon heyduck · 8 comments

mixing holdout with transparent in an eevee shader nodes behaves unexpected.

reproduce:
holdout and transparent in a mix node.

  • it looks like the transparent bsdf is blending into black while bekoming alpha-ed out.
  • the material blendmode is "alpha blend". but other material blendmodes dont work aswell.

on 0.5 mixed, the holdout is half there, as expected, but transparent looks like color(0.5,0.5,0.5,0.5)

solution?
i assume, its internally blending to color(0,0,0,0) but the transparent needs (1,1,1,n) to stay invisible, and in this case should be at color(1,1,1,0.5) when 0.5 mixed.
(since it seems to not use the alpha information internaly and, if my assumption is correct, holdout just is alpha and doesnt need its own color data)

  • so for the transition it might work correct if holdout takes rgb from the material to be mixed with.
  • or maybe give the holdout node an rgb input for mixing situations.

i hope that helps somehow :)

eevee transparent vs holdout.blend

System Information
Operating system: Windows-10-10.0.17763-SP0 64 Bits
Graphics card: GeForce GTX 980M/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 441.20

Blender Version
Broken: version: 2.83 (sub 17), branch: master, commit date: 2020-05-24 19:03, hash: 0d0df683d9
Worked: nope, ...this is all just so new to eevee <3

**mixing holdout with transparent in an eevee shader nodes behaves unexpected.** **reproduce:** holdout and transparent in a mix node. - it looks like the transparent bsdf is blending into black while bekoming alpha-ed out. - the material blendmode is "alpha blend". but other material blendmodes dont work aswell. on 0.5 mixed, the holdout is half there, as expected, but transparent looks like color(0.5,0.5,0.5,0.5) **solution?** i assume, its internally blending to color(0,0,0,0) but the transparent needs (1,1,1,n) to stay invisible, and in this case should be at color(1,1,1,0.5) when 0.5 mixed. (since it seems to not use the alpha information internaly and, if my assumption is correct, holdout just is alpha and doesnt need its own color data) - so for the transition it might work correct if holdout takes rgb from the material to be mixed with. - or maybe give the holdout node an rgb input for mixing situations. i hope that helps somehow :) [eevee transparent vs holdout.blend](https://archive.blender.org/developer/F8554381/eevee_transparent_vs_holdout.blend) **System Information** Operating system: Windows-10-10.0.17763-SP0 64 Bits Graphics card: GeForce GTX 980M/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 441.20 **Blender Version** Broken: version: 2.83 (sub 17), branch: master, commit date: 2020-05-24 19:03, hash: `0d0df683d9` Worked: nope, ...this is all just so new to eevee <3

Added subscriber: @PaulHeyduck

Added subscriber: @PaulHeyduck

Added subscriber: @iss

Added subscriber: @iss

Changed status from 'Needs Triage' to: 'Archived'

Changed status from 'Needs Triage' to: 'Archived'
Richard Antalik self-assigned this 2020-05-27 14:54:58 +02:00

To my knowledge this is working as it is supposed - holdout shader will not "pass" any data through therefore it will be completely black. Unfortunately I am not able to provide "workaround" for this case, but please try asking on forums for help, or propose new features on appropriate portals.

Issue reported here is a request for modified/improved behavior and not a bug in current behavior. Closing as this bug tracker is only for bugs and errors.

For user requests and feedback, please use other channels: https://wiki.blender.org/wiki/Communication/Contact#User_Feedback_and_Requests
For more information on why this isn't considered a bug, visit: https://wiki.blender.org/wiki/Reference/Not_a_bug

For help using Blender, please try one of the community websites: https://www.blender.org/community/

To my knowledge this is working as it is supposed - holdout shader will not "pass" any data through therefore it will be completely black. Unfortunately I am not able to provide "workaround" for this case, but please try asking on forums for help, or propose new features on appropriate portals. Issue reported here is a request for modified/improved behavior and not a bug in current behavior. Closing as this bug tracker is only for bugs and errors. For user requests and feedback, please use other channels: https://wiki.blender.org/wiki/Communication/Contact#User_Feedback_and_Requests For more information on why this isn't considered a bug, visit: https://wiki.blender.org/wiki/Reference/Not_a_bug For help using Blender, please try one of the community websites: https://www.blender.org/community/

posted this on rightclick select.
i still think its a bug.
in cycles its working like it should and since cycles and eevee should behave more or less the same, i hope it actually valid.

transparency fail3.jpg

posted this on rightclick select. i still think its a bug. in cycles its working like it should and since cycles and eevee should behave more or less the same, i hope it actually valid. ![transparency fail3.jpg](https://archive.blender.org/developer/F8558087/transparency_fail3.jpg)

Changed status from 'Archived' to: 'Confirmed'

Changed status from 'Archived' to: 'Confirmed'

This issue was referenced by 981d7381cd

This issue was referenced by 981d7381cd27432616c69d63cfaeb16aff6d3edb

Changed status from 'Confirmed' to: 'Resolved'

Changed status from 'Confirmed' to: 'Resolved'
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
4 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#77069
No description provided.