131415161718192021
import org.lwjgl.opengl.Display; public class ShaderLesson3 extends SimpleGame { public static void main(String[] args) throws LWJGLException { Game game = new ShaderLesson3(); game.setDisplayMode(320, 240, false); game.start(); }
import org.lwjgl.opengl.Display; public class ShaderLesson1 extends SimpleGame { public static void main(String[] args) throws LWJGLException { Game game = new ShaderLesson1(); game.setDisplayMode(640, 480, false); game.start(); }
192021222324252627
import org.lwjgl.opengl.Display; public class ShaderLesson4B extends SimpleGame { public static void main(String[] args) throws LWJGLException { Game game = new ShaderLesson4B(); game.setDisplayMode(640, 480, false); game.start(); }
import org.lwjgl.opengl.Display; public class ShaderLesson4 extends SimpleGame { public static void main(String[] args) throws LWJGLException { Game game = new ShaderLesson4(); game.setDisplayMode(640, 480, false); game.start(); }
242526272829303132
//should be at least as large as our display 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(); }
import org.lwjgl.opengl.Display; public class ShaderLesson2 extends SimpleGame { public static void main(String[] args) throws LWJGLException { Game game = new ShaderLesson2(); game.setDisplayMode(640, 480, false); game.start(); }
202122232425262728
import org.lwjgl.util.vector.Vector4f; public class ShaderLesson6 extends SimpleGame { public static void main(String[] args) throws LWJGLException { Game game = new ShaderLesson6(); game.setDisplayMode(800, 600, false); game.start(); }