Regression: EEVEE Color banding in viewport image render #113266
Labels
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
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender#113266
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
System Information
Operating system: win11
Graphics card: rtx3060
Blender Version
any newer version 4.0 /4.1
Worked: 3.6
Short description of error
When rendering with viewport rendering, the output has heavy banding. Must be some conversion error, as you can see the screenshot of the viewport looks just fine, as do the textures in every other programs.
this problem persists , no matter if viewport compositing is enabled or not.
the whole image looks like a bad gif with reduced colors.
Step to Reproduce
View -> Viewport Render Image
banding_demo.blend
Original report
Viewport screenshot - looks absolutely fine ![grafik](/attachments/ee9c7ae8-d7cd-4977-a36e-1b06d1daf730)normal render - looks absolutely fine
viewport render - heavy banding in dark areas and bigger gradients
close up of reduced color palette and banding:
Hi, thanks for the report. Any improvement in result after changing sampling count, color depth, file output format, etc.?
Color banding in dark areas might be expected in some cases when displaying images on digital display.
Maybe related #104298?
no , doesnt change anything .. the problem seems to be in the calculation , a value must be too high or too low. as you can see just screenshotting the viewport has perfectly nice colors and good looking gradients .. its just when blender grabs the viewport that this happens in the conversion.
here i blew out the gamma and made a close up so that its easier to see, its not just in the dark areas but everywhere there are color bandings
viewport screenshot - looks fine
viewport render - looks wrong
edit: same thing happens with normal geometry without any textures:
viewport screenshot -looks fine
viewport render - banding
if you point me to the related code in blender repository , would e nice
Unable to redo in simple file. Could you share example file with us?
Cycles code is located in
intern\cycles\blender
. I'm not sure which factors are affecting this, so can not really tell exact file/code-block to look at.Cycles devs know better about it.
Viewport rendering, heavy banding problems.to Viewport rendering in EEVEE -> heavy banding problems.These are eevee renderings and viewport, i changed the title accordingly. sorry
here i made a testfile:
a gp object and textured plane and a sphere .. all have banding and/or color grizz
like i said it happens with or without viewport compositor , and encompasses all objects , so it should happen somewhere in the capture module or following conversion , not before in object/shaders/whatever
viewport - looks fine
viewport render - banding
OK , i got it .. the bug was introduced in blender build August 09, 18:54:32
15124fe490
https://projects.blender.org/blender/blender/commit/15124fe49090
i dont see what in that commit would change the behaviour though .. but the version prior to this renders fine.
@fclem
Thanks for the file. Unable to confirm though: image
Does this happen with factory settings (to eliminate interference of additional scripts, add-ons, etc.)?:
File > Defaults > Load Factory Settings
Yes its happening on default settings too.
Did you use viewport rendering though ? , View -> Viewport Render Image . Normally viewport render doesnt show render statistics.
This may also be related:
The old behaviour for viewport rendering , has exact color reproduction in the render.
The image shows the eevee viewport and a viewport render in a very small window. As you can see the colors are matching.
The new behaviour (since build August 09, 18:54:32). Here you can see that the colors are slightly shifted in the render. Its probably easier to see in the yellow than the orange even , turned from orangy glowy yellow to dirty greenish yellow , darker parts in the orange are cutoff and replaced with saturation instead .. there must be some undetected color conversion issue in the code now.
Nice catch, thanks 🙂
I assume problem is with final render image
Viewport rendering in EEVEE -> heavy banding problems.to Regression: EEVEE Color banding in viewport image renderCaused by
2367ed2ef2
.@Michael-Parkin-White-Apple, any pointer?
@pragma37 Looks like the changes in
view3d_draw.cc
are what caused it. Can you confirm?please note that this solely affects the viewport render , not the normal render(F12). The normal render looks fine.
So maybe the changes implemented there can be ported to viewport render . Someone probably just overlooked/forgot it. ??
I have the fix. Will commit.