Gpu shaders color from 3.1 do not match those in 3.0 #95341
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#95341
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: windows
Graphics card: RTX 2080 super
Blender Version
Broken: 3.1 and 3.2
Worked: 3.0.1
Short description of error
shaders color from 3.1 do not match those in 3.0
Exact steps for others to reproduce the error
here is how the drawing looks in 3.0
here is how the drawing looks in 3.1
Added subscriber: @niewinny
Added subscriber: @PratikPB2123
Hi, thanks for the report. I am not sure if this is a bug.
RGBA values are calculated correctly in recent versions.
(Check with color picker from materials tab, G and B values are ~0.5 in 3.2v where it shows ~0.2 in previous versions)
To make sure I will see where exactly it changed.
you are right blender's picker shows it as 0.5
it should be the opposite though
3.1
3.0
Cannot find the exact commit. I am getting build errors.
You mean RGBA values passed to shader code shows correct output in pervious versions?
Added subscriber: @Jeroen-Bakker
Yes I measured RGBA of those squares in photoshop and in 3.0 G = 0.5 and in 3.1 G = 0.73
it's quite odd, looks like not everything is affected
look at gizmos in 3.1 and 3.0
3.1
3.0
yet the grid colors draw just fine
Could be due that this is an issue introduced when porting the internal shaders to use GPUShaderCreateInfo structures.
I haven't checked yet, but
8fb2ff458b
might have introduced the issue and should be fixed.The reason that the axis gizmo draws well is because their srgb and linear values are the same.
Changed status from 'Needs Triage' to: 'Confirmed'
Blender 3.0 sets the
srgbTarget
to true in the builtin shader that performs the linear to srgb conversion.Blender 3.1/2 doesn't have the option to set the
srgbTarget
what is a bug.This issue was referenced by
9578fe3068
Changed status from 'Confirmed' to: 'Resolved'