You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Primitive gl drawing : do not write depth when using polygon offset #1267
OpenGL's polygon offset is used to avoid z-fighting when drawing primitives in line and points mode. Using the polygon offset feature results in an implementation defined depth offset, writing this offset depth to the framebuffer depth attachment makes performing a manual depth test hard. So only write depth when we are not using polygon offset and only use polygon offset once depth has been written.
Activity
Primitive : do not write opengl depth when using polygon offset
Primitive : do not write opengl depth when using polygon offset