Repository navigation
Bug fixed: 3D viewport colors were double gamma-encoded (#35) #40
everyday3d
announced in
Bugs
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Bug: 3D viewport colors double gamma-encoded (#35)
Symptom: every color in the 3D preview looked lighter and washed out compared with its hex value.
Root cause: predicted sRGB colors were written straight into Three.js vertex colors, which are treated as linear light and encoded to sRGB on output.
Reproduction: load any photo, compare a swatch hex with the same color in the 3D view.
Resolution: colors are linearized before upload; the new Accuracy preview (default) shows them unlit and exact. Fixed in v1.1.0: https://github.com/everyday3d/tailwag/releases/tag/v1.1.0
All reactions