Closed KaneTW closed 7 years ago
Actually it is exposed, perhaps not in the way you expected it, see http://hackage.haskell.org/package/OpenGL-3.0.1.0/docs/Graphics-Rendering-OpenGL-GL-PerFragment.html#g:7. depthFunc $= Nothing disables the depth test, depthFunc $= Just Less enables it with "less" as the comparison function, etc.
depthFunc $= Nothing
depthFunc $= Just Less
Actually it is exposed, perhaps not in the way you expected it, see http://hackage.haskell.org/package/OpenGL-3.0.1.0/docs/Graphics-Rendering-OpenGL-GL-PerFragment.html#g:7.
depthFunc $= Nothing
disables the depth test,depthFunc $= Just Less
enables it with "less" as the comparison function, etc.