Blender Git Loki

Git Commits -> Revision 083f932

Revision 083f932 by Jeroen Bakker (master)
May 22, 2019, 12:50 (GMT)
Workbench: FXAA Artifacts

When using FXAA when rendering to an image the alpha channel was not
correct what lead to visual artifacts.

These artifacts come from the FXAA function that overwrites the alpha
channel with the original Luma of the texel. In the shader this can be
turned on or off. But at the end it always overwrites the alpha with the
luminance.

We didn't use this feature, but the alpha of the resulting pixel still
contained the luma value what lead to render artifacts.
By overwriting the alpha channel with the original alpha we remove these
artifacts.

Reviewed By: fclem

Maniphest Tasks: T64947

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

Commit Details:

Full Hash: 083f932a252c1a88b85999188ff1aeccc87eab66
Parent Commit: 53781d5
Lines Changed: +3, -0

1 Modified Path:

/source/blender/draw/engines/workbench/shaders/workbench_effect_fxaa_frag.glsl (+3, -0) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021