Blender Git Loki

Git Commits -> Revision 4bfa3f4

Revision 4bfa3f4 by Clément Foucault (master)
September 22, 2017, 00:44 (GMT)
Edit Mesh Mode : Make line smoother.

This introduce some little artifacts on the border of edges because some pixel with very low opacity does not get discarded and then occlude the face rendered behind if it has not been drawn yet.
To fix this. I added an offset in the geometry shader for the edge fixup. This make the artifact only visible on the border of the object if there is a very dense wire region. It's only visible in edge select mode since vertex and face center also hides the artifacts.

We can enable this only if AA is enabled but for now it's always enabled.

Commit Details:

Full Hash: 4bfa3f4f9ba13d49409e64d71d6894a3be12cf16
Parent Commit: e4f05df
Lines Changed: +55, -35

3 Modified Paths:

/source/blender/draw/modes/shaders/edit_mesh_overlay_frag.glsl (+41, -25) (Diff)
/source/blender/draw/modes/shaders/edit_mesh_overlay_geom_tri.glsl (+11, -5) (Diff)
/source/blender/draw/modes/shaders/edit_mesh_overlay_mix_frag.glsl (+3, -5) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021