Skip to content

Try fixing line normal calcs for some systems

Ken Martin requested to merge ken-martin/vtk:fix_opengl_line_normals into master

The line normal calc in the OpenGL fragment shaders could produce zero vectors which then get passed to normalize. This could be causing line lighting issues. Instead check the length of the X gradient and if it is non-zero then use it.

Merge request reports