Ejemplo n.º 1
0
        private void RenderPatternCube()
        {
            PatternShaderProgram.Activate();
            GL.PushMatrix();
            GL.Scale(.35, .35, .35);
            GLHelpers.Cube2D(1.99f);
            GL.PopMatrix();

            ShaderProgram.DisableShaders();
        }
Ejemplo n.º 2
0
 /// <summary>Load the shaders from disk and set them up</summary>
 private void InitializeShaders()
 {
     WrippleShaderProgram  = new WrippleShaderProgram();
     LightingShaderProgram = new LightingShaderProgram();
     PatternShaderProgram  = new PatternShaderProgram();
 }