public OpenGLRenderer() { Gl.ClearColor(0.0f, 0.0f, 0.0f, 1.0f); Gl.ClearDepthf(1.0f); Gl.Enable(EnableCap.Multisample); Gl.Enable(EnableCap.DepthTest); Gl.DepthFunc(DepthFunction.Lequal); Gl.Enable(EnableCap.CullFace); Gl.CullFace(CullFaceMode.Back); Gl.Enable(EnableCap.Blend); Gl.BlendFunc(BlendingFactorSrc.SrcAlpha, BlendingFactorDest.OneMinusSrcAlpha); }