Exported FBX file has incorrect albedo colors (linear/gamma issue) #93174

Closed
opened 1 year ago by herbst · 6 comments
herbst commented 1 year ago

System Information
Operating system: Windows-10-10.0.19041-SP0 64 Bits
Graphics card: NVIDIA GeForce RTX 2070 with Max-Q Design/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 472.47

Blender Version
Broken: version: 2.93.6, branch: master, commit date: 2021-11-16 14:54, hash: blender/blender@c842a90e2f
Worked: none? not sure

Short description of error
Exporting the attached blend file to FBX results in an incorrect albedo color (too dark) in the resulting file.
The result file can be viewed in e.g. Unity or Windows 3D VIewer

image.png
In Blender

image.png
In Windows 3D Viewer (the incorrect triangulation is a Windows 3D Viewer bug)

Exact steps for others to reproduce the error
Download LightGreenFloor.blend
Note light green color
Export to FBX
View in Windows 3D Viewer or Unity or ...
Note incorrect dark green color

Create a new scene in Blender and import the file
Note incorrect dark green color (so import seems to still interpret correctly)

**System Information** Operating system: Windows-10-10.0.19041-SP0 64 Bits Graphics card: NVIDIA GeForce RTX 2070 with Max-Q Design/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 472.47 **Blender Version** Broken: version: 2.93.6, branch: master, commit date: 2021-11-16 14:54, hash: `blender/blender@c842a90e2f` Worked: none? not sure **Short description of error** Exporting the attached blend file to FBX results in an incorrect albedo color (too dark) in the resulting file. The result file can be viewed in e.g. Unity or Windows 3D VIewer ![image.png](https://archive.blender.org/developer/F11821503/image.png) *In Blender* ![image.png](https://archive.blender.org/developer/F11821507/image.png) *In Windows 3D Viewer (the incorrect triangulation is a Windows 3D Viewer bug)* **Exact steps for others to reproduce the error** Download [LightGreenFloor.blend](https://archive.blender.org/developer/F11821497/LightGreenFloor.blend) Note light green color Export to FBX View in Windows 3D Viewer or Unity or ... Note incorrect dark green color Create a new scene in Blender and import the file Note incorrect dark green color (so import seems to still interpret correctly)
herbst commented 1 year ago
Poster

Added subscriber: @herbst

Added subscriber: @herbst
Collaborator

#87515 was marked as duplicate of this issue

#87515 was marked as duplicate of this issue
Collaborator

Closed as duplicate of blender/blender#53209

Closed as duplicate of blender/blender#53209
OmarEmaraDev closed this issue 11 months ago
Collaborator

Added subscriber: @OmarEmaraDev

Added subscriber: @OmarEmaraDev
Collaborator

Your assessment is correct about gamma. However, FBX files do not specify any color space information and the specification doesn't enforce one, so this is left up to the software.
The FBX exporter exports the color directly as [ 0.237069, 0.401970, 0.114849], which is the correct linear color in Blender. An option to control this could be added, but this is considered a TODO and not a bug at the moment.
See Bastien's comment here https://developer.blender.org/T53209#468514.

Your assessment is correct about gamma. However, FBX files do not specify any color space information and the specification doesn't enforce one, so this is left up to the software. The FBX exporter exports the color directly as `[ 0.237069, 0.401970, 0.114849]`, which is the correct linear color in Blender. An option to control this could be added, but this is considered a TODO and not a bug at the moment. See Bastien's comment here https://developer.blender.org/T53209#468514.
Collaborator

Added subscribers: @E_Toma, @rjg

Added subscribers: @E_Toma, @rjg
Sign in to join this conversation.
No Label
good first issue
legacy module/Animation & Rigging
legacy module/Core
legacy module/Eevee & Viewport
legacy module/Grease Pencil
legacy module/Modeling
legacy module/Nodes & Physics
legacy module/Pipeline, Assets & IO
legacy module/Platforms, Builds, Tests & Devices
legacy module/Python API
legacy module/Rendering & Cycles
legacy module/Sculpt, Paint & Texture
legacy module/User Interface
legacy module/VFX & Video
legacy project/2.81
legacy project/2.82
legacy project/2.83
legacy project/2.90
legacy project/2.92
legacy project/2.93
legacy project/3.0
legacy project/3.1
legacy project/3.2
legacy project/3.4
legacy project/Add-ons (BF-Blender)
legacy project/Add-ons (Community)
legacy project/Alembic
legacy project/Animation & Rigging
legacy project/Asset Browser
legacy project/Automated Testing
legacy project/BF Blender: 2.8
legacy project/BF Blender: After Release
legacy project/BF Blender: Next
legacy project/BF Blender: Regressions
legacy project/BF Blender: Unconfirmed
legacy project/Blender 2.70
legacy project/Blender Cloud
legacy project/Code Quest
legacy project/Collada
legacy project/Compositing
legacy project/Core
legacy project/Cycles
legacy project/Datablocks and Libraries
legacy project/Dependency Graph
legacy project/Documentation
legacy project/EEVEE & Viewport
legacy project/Freestyle
legacy project/Game Data Conversion
legacy project/Game Engine
legacy project/Game Physics
legacy project/Game Python
legacy project/Game UI
legacy project/Geometry Nodes
legacy project/Good First Issue
legacy project/Grease Pencil
legacy project/Images & Movies
legacy project/Import/Export
legacy project/Infrastructure: Blender Buildbot
legacy project/Infrastructure: Blender Web Assets
legacy project/Infrastructure: Websites
legacy project/Modeling
legacy project/Modifiers
legacy project/Motion Tracking
legacy project/Nodes
legacy project/Nodes & Physics
legacy project/OpenGL Error
legacy project/Overrides
legacy project/Papercut
legacy project/Physics
legacy project/Pillar
legacy project/Pipeline, Assets & I/O
legacy project/Platform: Linux
legacy project/Platform: macOS
legacy project/Platforms, Builds, Tests & Devices
legacy project/Platform: Windows
legacy project/Python API
legacy project/Render & Cycles
legacy project/Render Pipeline
legacy project/Sculpt, Paint & Texture
legacy project/Straightforward Issue
legacy project/Text Editor
legacy project/Tracker Curfew
legacy project/Translations
legacy project/USD
legacy project/User Interface
legacy project/UV Editing
legacy project/VFX & Video
legacy project/Video Sequencer
legacy project/Virtual Reality
papercut
Priority › High
Priority › Low
Priority › Normal
Priority › Unbreak Now!
Status › Archived
Status › Confirmed
Status › Duplicate
Status › Needs Information from Developers
Status › Needs Information from User
Status › Needs Triage
Status › Resolved
straightforward issue
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

No due date set.

Dependencies

No dependencies set.

Reference: blender/blender-addons#93174
Loading…
There is no content yet.