diff options
author | Jeroen Bakker <jbakker> | 2020-05-22 15:11:03 +0300 |
---|---|---|
committer | Jeroen Bakker <j.bakker@atmind.nl> | 2020-05-22 15:11:36 +0300 |
commit | 59aed2a255f22f0cf91dbdf2e9daac179b9c2649 (patch) | |
tree | fb8ee5059aa8262b908daf776ea0bc424e12f139 /source/blender/editors/include | |
parent | 4066c921fbe5777271bebe1055bfd525f4c6dcfa (diff) |
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
Diffstat (limited to 'source/blender/editors/include')
0 files changed, 0 insertions, 0 deletions