Package com.thecrouchmode.graphics

Examples of com.thecrouchmode.graphics.Texture


    }
    catch(IOException e){
      e.printStackTrace();
    }
   
    Texture texture = null;
    Texture material = null;
    Texture normal = null;
    try{
      glActiveTexture(Texture.glTexture(0));
      texture = new Texture("./textures/texture.png", "png");
      glActiveTexture(Texture.glTexture(1));
      material = new Texture("./textures/material.png", "png");
      glActiveTexture(Texture.glTexture(2));
      normal = new Texture("./textures/shinymat.png", "png");
    }
    catch(IOException e){
      e.printStackTrace();
    }
    //Texture.unbind();
View Full Code Here

TOP

Related Classes of com.thecrouchmode.graphics.Texture

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.