Package sprites.base.ogl

Examples of sprites.base.ogl.ShaderProgram


  }
 
  private void initProgram(){
    Shader spriteVS = loadShader("res/shader/sprite_vs.glsl" , GL4.GL_VERTEX_SHADER);
    Shader spriteFS = loadShader("res/shader/sprite_hue_fs.glsl", GL4.GL_FRAGMENT_SHADER);
    this.defaultProgram = new ShaderProgram(spriteVS, spriteFS);
    this.defaultProgram.linkProgram(this.gl);
  }
View Full Code Here

TOP

Related Classes of sprites.base.ogl.ShaderProgram

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.