Commit 7a210df1 authored by Christopher Tenter's avatar Christopher Tenter

apply small depth offset in wireframe shaders refs #2081

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@18475 383ad7c9-94d9-4d36-a494-682f7c89f535
parent 99c7ce3e
......@@ -9,4 +9,6 @@ void main()
SG_FRAGMENT_END
}
\ No newline at end of file
gl_FragDepth = gl_FragCoord.z * 0.9998;
}
......@@ -7,4 +7,6 @@ void main()
SG_FRAGMENT_END
}
\ No newline at end of file
gl_FragDepth = gl_FragCoord.z * 0.9998;
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment