by stateoff · 4y ago · 0 comments
I recommend reading the technical memo "Alpha and the History of Digital Compositing" by Alvy Ray Smith [1] to get a better intuition on the matter.
"PS3 does sRGB conversion before alpha-blending, so the blending is done in gamma space, which is not quite right."
original image -> convert to linear color space -> multiply alpha -> blur -> composite -> possibly convert back to sRGB if needed
The wrong way I meant was
original image -> multiply alpha -> gamma-correct-blur -> composite
where gamma-correct-blur = convert to linear color space -> blur filter -> convert to sRGB