How should ImageBufAlgo::blend deal with images that have
an alpha channel?

Blending makes sense only for color channels, so I think
we should allow images with alpha channels, but we should
skip the alpha channel in the blending step.

What about Z channel, do the same thing?

Another option is to apply blending to all channels,
no matter alpha or Z. Then, it would be the user's
responsibility to provide us only with color channels.
_______________________________________________
Oiio-dev mailing list
[email protected]
http://lists.openimageio.org/listinfo.cgi/oiio-dev-openimageio.org

Reply via email to