Color Mix "Add" mode is broken in Cycles #48587

Closed
opened 2016-06-04 03:30:16 +02:00 by bassam kurdali · 10 comments
Member

System Information
GNU/Linux 64bit (Intel CPU/nvidia GPU) / Fedora 23

Blender Version
Broken: 2.77 17fbce9 (git master)
Worked: 2.77a release

Short description of error
Using a Color Mix node with the first color being white and the second color black (zero on all channels) results in a Black output in "Add" mode even though 0 + 1 should be 1 not zero . my guess is that Add is doing a Mix by accident.

Exact steps for others to reproduce the error

  • Download the File Attached bug.blend bug.blend
  • Open the file
  • set the viewport to rendered
  • observe the black color (it should be white)
**System Information** GNU/Linux 64bit (Intel CPU/nvidia GPU) / Fedora 23 **Blender Version** Broken: 2.77 17fbce9 (git master) Worked: 2.77a release **Short description of error** Using a Color Mix node with the first color being white and the second color black (zero on all channels) results in a Black output in "Add" mode even though 0 + 1 should be 1 not zero . my guess is that Add is doing a Mix by accident. **Exact steps for others to reproduce the error** - Download the File Attached bug.blend [bug.blend](https://archive.blender.org/developer/F315903/bug.blend) - Open the file - set the viewport to rendered - observe the black color (it should be white)
Author
Member

Changed status to: 'Open'

Changed status to: 'Open'
Author
Member

Added subscriber: @BassamKurdali

Added subscriber: @BassamKurdali

Added subscriber: @ThomasDinges

Added subscriber: @ThomasDinges

Added subscriber: @Ace_Dragon

Added subscriber: @Ace_Dragon

In addition, from my own tests, the add mode for Color Mix seems to be broken only for the case when it gets fed a value of 1 (other values like 0.9 seem to work as intended).

In addition, from my own tests, the *add* mode for Color Mix seems to be broken only for the case when it gets fed a value of 1 (other values like 0.9 seem to work as intended).
Author
Member

that seems to be the case, at least in the example file. Well spotted (and thanks Thomas for adding Cycles project... I should have done so)

that seems to be the case, at least in the example file. Well spotted (and thanks Thomas for adding Cycles project... I should have done so)

This issue was referenced by 234801c8dc

This issue was referenced by 234801c8dc42f0f24e6f90691451b462942ffe56

Changed status from 'Open' to: 'Resolved'

Changed status from 'Open' to: 'Resolved'
Author
Member

Thanks Dingto! confirming 'FIXED' both on the test .blend I uploaded and on the original tube files that exposed the bug in the first place. Great work!

Thanks Dingto! confirming 'FIXED' both on the test .blend I uploaded and on the original tube files that exposed the bug in the first place. Great work!

This issue was referenced by blender/cycles@75436eacdc

This issue was referenced by blender/cycles@75436eacdc04ac9a97b66a91002642d847d3f084
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#48587
No description provided.