Blender Git Loki

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)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021