main sync #3

Merged
Patrick Busch merged 318 commits from blender/blender:main into main 2023-03-17 15:52:21 +01:00
Showing only changes of commit 10cf02d26b - Show all commits

View File

@ -176,10 +176,10 @@ void main()
/* Enlarge edge for flag display. */
half_size += (geometry_out.finalColorOuter.a > 0.0) ? max(sizeEdge, 1.0) : 0.0;
#ifdef USE_SMOOTH_WIRE
if (do_smooth_wire) {
/* Add 1 px for AA */
half_size += 0.5;
#endif
}
vec3 edge_ofs = vec3(half_size * sizeViewportInv, 0.0);