Blender Git Loki

Git Commits -> Revision d73130c

Revision d73130c by Jeroen Bakker (master)
November 17, 2020, 15:10 (GMT)
Fix T82770: Artifacts when painting on generated transparent image

Regression introduced by {b17cca6966}. When centralizing the gpu texture
premultiplication setting it was assumed that generated images
(`IMA_TYPE_UV_TEST`) were stored as premultiplied. That assumption was
totally wrong as the alpha association is determined by the existing of
the float/byte buffer.

NOTE: This change will render generated images with pure emissive
colors (show colors when alpha=0.0) what might add more reports. Any
reports could be merged in the next report {T82790}.

Reviewed By: Cl�ment Foucault, Philipp Oeser

Differential Revision: https://developer.blender.org/D9585

Commit Details:

Full Hash: d73130cc287690539a0509a44abd4c85ffb30188
Parent Commit: cc0b8cb
Lines Changed: +19, -10

1 Modified Path:

/source/blender/blenkernel/intern/image_gpu.c (+19, -10) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021