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

Closed
opened 2021-11-18 01:05:18 +01:00 by Felix Herbst · 6 comments

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)
Author

Added subscriber: @herbst

Added subscriber: @herbst

#87515 was marked as duplicate of this issue

#87515 was marked as duplicate of this issue
Member

Closed as duplicate of blender/blender#53209

Closed as duplicate of blender/blender#53209
Member

Added subscriber: @OmarEmaraDev

Added subscriber: @OmarEmaraDev
Member

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.
Member

Added subscribers: @E_Toma, @rjg

Added subscribers: @E_Toma, @rjg
Sign in to join this conversation.
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-addons#93174
No description provided.