source.setFullscreen(fullscreen); source.setVSync(vsync); source.setGammaCorrection(gamma);
public static void main(String[] args){ TestToneMapFilter app = new TestToneMapFilter(); AppSettings settings = new AppSettings(true); // Must turn on gamma correction, as otherwise it looks too dark. settings.setGammaCorrection(true); app.setSettings(settings); app.start(); }
source.setFullscreen(fullscreen); source.setVSync(vsync); source.setGammaCorrection(gamma);