1
0
Fork 0
This commit is contained in:
Florian Richer (MrDev023) 2015-12-24 13:15:02 +01:00
parent f298038298
commit 145438d5f4
12 changed files with 243 additions and 26 deletions

View file

@ -12,12 +12,15 @@ public class Shader {
public int program;
public int includeV = 0,includeF = 0;
public static Shader MAIN,LIGHT,LIGHT_AMBIENT;
public static Shader MAIN,LIGHT,LIGHT_AMBIENT,FONT;
public static void init() {
System.out.println("---------------------------- Load Shader ---------------------------------------------");
MAIN = new Shader("res/shaders/main");
FONT = new Shader("res/shaders/font");
LIGHT = new Shader("res/shaders/light");
LIGHT_AMBIENT = new Shader("res/shaders/light_ambient");
System.out.println("--------------------------------------------------------------------------------------");
}
public Shader(String file){