Exemple #1
0
        // Tutorial38::Init()
        protected override void OnLoad()
        {
            GL.LoadBindings(new GLFWBindingsContext());

            if (!Mesh.LoadMesh("Assets/boblampclean.md5mesh"))
            {
                Console.WriteLine("Mesh load failed");
            }

            ShaderProgram = ShaderUtils.CreateProgram("Shaders/skinning.vert", "Shaders/skinning.frag");

            base.OnLoad();
        }