Blender Git Commit Log

Git Commits -> Revision 773f342

Revision 773f342 by Clément Foucault (master)
February 5, 2019, 14:02 (GMT)
Edit Mesh: Add workaround for system that does not support wide lines

This adds a new geometry shader (specific to edit mesh for now) that
reproduces the effect of glLineWidth > 1.0, since this is not supported on
all platform.

This fix could be generalized to other shaders later.

Commit Details:

Full Hash: 773f3428cfc5212641c59536f56179a58acf318a
Parent Commit: a131514
Lines Changed: +118, -21

1 Added Path:

/source/blender/draw/modes/shaders/edit_mesh_overlay_geom.glsl (+64, -0) (View)

3 Modified Paths:

/source/blender/draw/CMakeLists.txt (+1, -0) (Diff)
/source/blender/draw/modes/edit_mesh_mode.c (+18, -5) (Diff)
/source/blender/draw/modes/shaders/edit_mesh_overlay_vert.glsl (+35, -16) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021