Blender Git Loki

Git Commits -> Revision 59aed2a

Revision 59aed2a by Jeroen Bakker (master)
May 22, 2020, 12:11 (GMT)
Fix T73726: Workbench Closest Interpolation Artifacts

All textures in workbench are using linear interpolation. The fragment
shader modifies the uv coordinates to sample always in the center of a
texel. In rare conditions the GPU could sample an incorrect value due to
rounding errors making some rendering artifacts.

This patch skips the interpolation in the fragment shader to remove
these render artifacts.

Reviewed By: Cl�ment Foucault

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

Commit Details:

Full Hash: 59aed2a255f22f0cf91dbdf2e9daac179b9c2649
Parent Commit: 4066c92
Lines Changed: +18, -6

1 Modified Path:

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