Stykka / glTF-Bin

[Deprecated See https://github.com/mcneel/glTF-IO] glTF exporter for Rhinoceros. Supports: mode-text, mode-binary, binary-draco, materials, and textures.
MIT License
31 stars 18 forks source link

Color Textures double encoded to sRGB #36

Closed Doerge closed 3 years ago

Doerge commented 3 years ago

I think this is a bug in Rhino's linear workflow, but also posting it here if that's not the case. https://discourse.mcneel.com/t/bug-texture-treat-as-linear-checkbox/120115

The result is that the color texture has gamma twice applied. Look at the texture slot in Rhino and the texture slot in ModelViewer. The Rhino Render settings are Gamma 2.2 and Linear Workflow turned on.

Screenshot 2021-03-11 at 10 00 03

In the reference viewer it's possible to choose texture encoding, and it's clear that it's twice encoded.

Screenshot 2021-03-11 at 10 09 42 Screenshot 2021-03-11 at 10 09 35