1516171819202122232425
public class ShaderLesson3 extends SimpleGame { public static void main(String[] args) throws LWJGLException { Game game = new ShaderLesson3(); game.setDisplayMode(320, 240, false); game.start(); } //our texture Texture tex;
public class ShaderLesson1 extends SimpleGame { public static void main(String[] args) throws LWJGLException { Game game = new ShaderLesson1(); game.setDisplayMode(640, 480, false); game.start(); } //our texture Texture tex;
2122232425262728293031
public class ShaderLesson4B extends SimpleGame { public static void main(String[] args) throws LWJGLException { Game game = new ShaderLesson4B(); game.setDisplayMode(640, 480, false); game.start(); } //our grass texture Texture tex0;
public class ShaderLesson4 extends SimpleGame { public static void main(String[] args) throws LWJGLException { Game game = new ShaderLesson4(); game.setDisplayMode(640, 480, false); game.start(); } //our grass texture Texture tex0;
2627282930313233343536
public static final int FBO_SIZE = 1024; public static void main(String[] args) throws LWJGLException { Game game = new ShaderLesson5(); game.setDisplayMode(800, 600, false); game.start(); } //our texture to blur Texture tex, tex2;
public class ShaderLesson2 extends SimpleGame { public static void main(String[] args) throws LWJGLException { Game game = new ShaderLesson2(); game.setDisplayMode(640, 480, false); game.start(); } //our texture Texture tex;
2223242526272829303132
public class ShaderLesson6 extends SimpleGame { public static void main(String[] args) throws LWJGLException { Game game = new ShaderLesson6(); game.setDisplayMode(800, 600, false); game.start(); } //our texture to blur Texture rock, rockNormals;