viewport compositor - color change when disabling Hue correction node with no adjustments #106965

Closed
opened 2023-04-14 19:03:51 +02:00 by kevin donovan · 12 comments

System Information
Operating system: Windows-10-10.0.22621-SP0 64 Bits
Graphics card: AMD Radeon RX 5700 ATI Technologies Inc. 4.5.0 Core Profile Context 23.3.2.230315

Blender Version
Broken: version: 3.6.0 Alpha, branch: main, commit date: 2023-04-12 11:04, hash: da75495ada00
Worked: n/a

Short description of error
In the included node setup I'm getting a color shift (mostly in oranges and yellows) when disabling the hue correct node that has no adjustments. In my included blend file the hue correct node is on the far right in the green frame. Tried a fresh hue correction node and same issue. The issue does not happen if I use a huecorrect as the only node plugged into the image.

Exact steps for others to reproduce the error
Open my blend file and mute and unmute the hue correct node in the green frame on the far right of the compositor using the viewport compositor. Image is included.

**System Information** Operating system: Windows-10-10.0.22621-SP0 64 Bits Graphics card: AMD Radeon RX 5700 ATI Technologies Inc. 4.5.0 Core Profile Context 23.3.2.230315 **Blender Version** Broken: version: 3.6.0 Alpha, branch: main, commit date: 2023-04-12 11:04, hash: `da75495ada00` Worked: n/a **Short description of error** In the included node setup I'm getting a color shift (mostly in oranges and yellows) when disabling the hue correct node that has no adjustments. In my included blend file the hue correct node is on the far right in the green frame. Tried a fresh hue correction node and same issue. The issue does not happen if I use a huecorrect as the only node plugged into the image. **Exact steps for others to reproduce the error** Open my blend file and mute and unmute the hue correct node in the green frame on the far right of the compositor using the viewport compositor. Image is included.
88 MiB
kevin donovan added the
Priority
Normal
Type
Report
Status
Needs Triage
labels 2023-04-14 19:03:52 +02:00
YimingWu added the
Interest
Compositing
Interest
EEVEE & Viewport
labels 2023-04-15 03:59:56 +02:00

I can confirm that real-time compositor gives a result that doesn't look right here. And also, the final composer is completely serviceable.

I can confirm that real-time compositor gives a result that doesn't look right here. And also, the final composer is completely serviceable.
Author

If I disable the nodes before the hue correction (in the same green frame), the problem doesn't happen.

If I disable the nodes before the hue correction (in the same green frame), the problem doesn't happen.
Member

I can't reproduce the issue. Can you try to simplify that file as much as possible, this is currently too complex to investigate.

@mod_moder Can you actually reproduce the Hue Correction issue or just that the realtime compositor gives a bad result?

I can't reproduce the issue. Can you try to simplify that file as much as possible, this is currently too complex to investigate. @mod_moder Can you actually reproduce the Hue Correction issue or just that the realtime compositor gives a bad result?
Omar Emara added
Status
Needs Information from User
and removed
Status
Confirmed
labels 2023-04-18 11:30:18 +02:00
Author

made a smaller node setup. You can use the same image from before. Mute the hue correction node and you should see the colors shift, if you replace it with a new hue correct the same problem happens.

made a smaller node setup. You can use the same image from before. Mute the hue correction node and you should see the colors shift, if you replace it with a new hue correct the same problem happens.
Author

Think It might be a clamping problem, did a quick test with subtracting the image and was able to replicate it. test attached

edit: yes If I enable clamping on the the subtract node , the color shifting no longer happens. the shifting does not happen with the main compositor.

Think It might be a clamping problem, did a quick test with subtracting the image and was able to replicate it. test attached edit: yes If I enable clamping on the the subtract node , the color shifting no longer happens. the shifting does not happen with the main compositor.
Member

@kevindonovan Maybe I am missing something, but the Saturation curve in your test3 example has changed, so a difference is expected.

@kevindonovan Maybe I am missing something, but the Saturation curve in your test3 example has changed, so a difference is expected.
Author

You are correct, my mistake from testing. In the test 2 example if you reset the curve you will still see the problem

You are correct, my mistake from testing. In the test 2 example if you reset the curve you will still see the problem
Author

uploaded a vid of the problem.

uploaded a vid of the problem.
Omar Emara added
Status
Confirmed
Type
Bug
and removed
Status
Needs Information from User
Type
Report
labels 2023-04-18 15:06:56 +02:00
Omar Emara self-assigned this 2023-04-18 16:11:53 +02:00
Member

This is due to a difference in how the CPU compositor and realtime compositor do HSV<=>RGB conversion.
Not sure yet if we should make shader materials match the compositor or if we should add a special variant.

This is due to a difference in how the CPU compositor and realtime compositor do HSV<=>RGB conversion. Not sure yet if we should make shader materials match the compositor or if we should add a special variant.
Author

understood. I just tested it with the color correction node and pushing saturation high, just adding the hue correction node greatly desaturates the image (mostly the yellows). In its current state the node is unusable because it destroys your work from before.

I also tested with the separate color and combine color in hsv mode, the problem does not happen there.

Thanks for looking into this

understood. I just tested it with the color correction node and pushing saturation high, just adding the hue correction node greatly desaturates the image (mostly the yellows). In its current state the node is unusable because it destroys your work from before. I also tested with the separate color and combine color in hsv mode, the problem does not happen there. Thanks for looking into this
Blender Bot added
Status
Resolved
and removed
Status
Confirmed
labels 2023-04-27 19:25:09 +02:00
Author

the fix did not fix the problem for me, all it did was make the color shift happen on the cpu the same as it did on the gpu .

the fix did not fix the problem for me, all it did was make the color shift happen on the cpu the same as it did on the gpu .
Blender Bot added
Status
Confirmed
and removed
Status
Resolved
labels 2023-05-03 19:33:12 +02:00
Blender Bot added
Status
Archived
and removed
Status
Confirmed
labels 2023-05-03 20:08:56 +02:00
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
3 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#106965
No description provided.