3
$\begingroup$

I'm struggling to get the same result in the Blender node editor when layering images with transparency, to the result I get when doing the same in Photoshop.

The Blender result is shinier/washed out compared to the result from Photoshop (see below).

The blend file can be found here: https://drive.google.com/file/d/0B54MopLgZnccM2VnVWVTLUxlNUk/view?usp=sharing

I've played around with Premultiplied and Straight Alpha, tried 32 bit pngs, mix nodes and Alpha Over nodes, and pulling out my hair, but haven't been able to find the answer.

Comparison

Thanks for any help!

Mark.

$\endgroup$
  • 1
    $\begingroup$ related: blender.stackexchange.com/questions/28284/… $\endgroup$ – cegaton Mar 1 '16 at 1:42
  • $\begingroup$ Thanks @cegaton for the link. I'm not sure if it's colour/monitor issue, as the Blender result looks the same in both Blender and Photoshop, as does the Photoshop result. I've also tried saving the overlay with and without the ICC profile, but this didn't fix the issue either. I will keep investigating the colour profile anyway... $\endgroup$ – Muck Muddy Mar 1 '16 at 2:28
3
$\begingroup$

Photoshop has a non-linear reference space typically, and as such, all blends are wrong.

Blender's compositor on the other hand, uses a strictly linearized reference space, and alpha overs, assuming you are using associated alpha and the Alpha over node, are correct.

Nonlinear Over: Nonlinear Over

Linearized Over: Linearized Over

$\endgroup$
  • $\begingroup$ Thanks Troy. That seems like a good answer, though not one I was hoping for. :-) Do you know if there's a way to ask Blender to not be so strict on the linears? $\endgroup$ – Muck Muddy Mar 1 '16 at 22:23
  • $\begingroup$ No. You actually always want this. See docs.google.com/presentation/d/… if you don't understand why. Photoshop has a hack "linear blend" mode. Fundamentally, you always want linearized blends. If you absolutely want broken backwards blending, use an alpha over in the VSE. Awful idea however. $\endgroup$ – troy_s Mar 2 '16 at 4:50
  • $\begingroup$ Do different colour profiles effect how the alpha is treated? Because all of the colour in the image that is fully opaque is identical in Photoshop and Blender. I would have thought that if it was a colour profile issue, all of the colours would be different, not just the alpha. But I don't know much about colour profiles. $\endgroup$ – Muck Muddy Mar 2 '16 at 4:52
  • 1
    $\begingroup$ It isn't a colour profile issue if the two colour spaces are identical. It has to do with how light mixes, which is a linear radiometric effect. Photoshop and other anachronistic image editing tools are nonlinear, display referred models. This means the blends are nonlinear and, as a result, wrong. Try a fully saturated red star, slightly blurred, over a cyan (blue and green) background. See how broken it is? $\endgroup$ – troy_s Mar 2 '16 at 8:25
  • $\begingroup$ A-ha! Thanks for sharing your brains, some really great learnings. I've found if I work in 32 bit mode in Photoshop, I get the same effect as in Blender. Is that the only way to set the light mixes to linear in Photoshop? Thanks! $\endgroup$ – Muck Muddy Mar 3 '16 at 22:57
0
$\begingroup$

I opened the file, and immediately it looked like the photoshop reference you posted (No mods to your file), see attached.

enter image description here

$\endgroup$
  • $\begingroup$ Your backdrop appears to be set to the PS reference file packed in the .blend? $\endgroup$ – JtheNinja Mar 1 '16 at 18:08
  • $\begingroup$ Yep, sorry, I forgot to mention that I included the Photoshop version in the blend file as well. $\endgroup$ – Muck Muddy Mar 1 '16 at 22:07

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.