Blender Git Commit Log

Git Commits -> Revision cacc1d7

Revision cacc1d7 by Jeroen Bakker (master)
January 29, 2021, 14:19 (GMT)
Fix T81169: Grease Pencil Z-depth drawing issue on OSX + AMD Graphic Cards

The grease pencil merge depth shader is designed to only work correctly
in octographic mode. The uv coordinates used `noperspective` attribute.
Somehow this doesn't lead to render artifacts on most platforms and was
only detected on OSX + AMD cards.

This fix would calculate the uv coordinate inside the fragment shader
and isn't passed along from the vertex shader.

Thanks to Sebasti�n Barschkis for providing the hardware and time and
Cl�ment Foucault for helping out with the final fix.

Commit Details:

Full Hash: cacc1d723c763e8ea1f8e616e98b2dc35ed25f26
Parent Commit: 9f89166
Lines Changed: +1, -7

2 Modified Paths:

/source/blender/draw/engines/gpencil/shaders/gpencil_depth_merge_frag.glsl (+1, -4) (Diff)
/source/blender/draw/engines/gpencil/shaders/gpencil_depth_merge_vert.glsl (+0, -3) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021