cleanup with minor tweaks

This commit is contained in:
2018-09-03 21:59:37 -05:00
parent 80d4132510
commit cd551a2bc1
4 changed files with 7 additions and 22 deletions

View File

@@ -41,7 +41,7 @@ public class BloomShader implements Disposable {
Gdx.app.error("Shader", brightFilterShader.getLog());
}
gaussianBlurShader = new ShaderProgram(Gdx.files.internal("shaders/gaussian_blur.vsh"), Gdx.files.internal("shaders/gaussian_blur.fsh"));
gaussianBlurShader = new ShaderProgram(Gdx.files.internal("shaders/basic.vsh"), Gdx.files.internal("shaders/gaussian_blur.fsh"));
if (!gaussianBlurShader.isCompiled()) {
Gdx.app.error("Shader failed to compile gaussian blur shader", gaussianBlurShader.getLog());
System.exit(1);
@@ -69,7 +69,6 @@ public class BloomShader implements Disposable {
combineShader.begin();
combineShader.setUniformi("u_texture1", 1);
combineShader.setUniformi("u_texture2", 2);
combineShader.end();
gaussianBlurShader.begin();