Skip to content

PNG alpha premultiplied in texture color space or linear color space? #4054

Closed Answered by lgritz
jimenea asked this question in Q&A
Discussion options

You must be logged in to vote

You were right that this was egregiously wrong.

It turns out we did the linearize-associate-delinearize sequence right, and it wasn't the case that we were associating in the nonlinear case.

BUT... the truth was even more embarrassing. We applied gamma, associated, and then applied 1/gamma to bring it back, when of course it should have been 1/gamma, associate, gamma.

Replies: 4 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by ThiagoIze
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants