Blender Git Commit Log

Git Commits -> Revision 1e48084

Revision 1e48084 by Clément Foucault (master)
December 2, 2019, 17:35 (GMT)
Overlay: Fix vertex discard issue on Nvidia hardware

Instead of relying on undefined behavior to discard the line, we put the
vertex at the camera origin so that interpolation does not produce any
fragment. We don't use FLT_MAX as it also gives unpredicatble results on
NVidia.

Commit Details:

Full Hash: 1e480840a2123a6b61e7aa3e6f7935b6654f9981
Parent Commit: df29e9c
Lines Changed: +2, -2

1 Modified Path:

/source/blender/draw/engines/overlay/shaders/wireframe_vert.glsl (+2, -2) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021