Beispiel #1
0
        public static void Render()
        {
            //Gl.Enable(EnableCap.DepthTest);
            //Gl.DepthFunc(DepthFunction.Less);

            Gl.Enable(EnableCap.CullFace);
            Gl.CullFace(CullFaceMode.Back);

            UpdateViewMatrix();

            Terrain.Render();
            EntityManager.Render();
        }