[Bf-codereview] Alpha premul pipeline cleanup (issue 7018048)

Xavier Thomas xavier.thomas.1980 at gmail.com
Sat Dec 29 23:41:44 CET 2012


> However, byte buffers behaves quite fuzzy. When i do a stroke with white
> brush on complete transparent image, i should see the whole stroke being
> white in RGB display mode, but it fades up to darkish colors to the
> sides of brush. Converting pixels from straight-byte to premul-float in
> IMB_rectblend and using IMB_blend_color_float doesn't give correct
> result here.


Darkish colors in the semitransparent areas is often a sign of having
premultiplied colors by alpha twice or more.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.blender.org/pipermail/bf-codereview/attachments/20121229/5ecd95ff/attachment.htm 


More information about the Bf-codereview mailing list