Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Un-break postprocessing.

  • Loading branch information...
commit 1e781f7d1bec6993b4d6688d94d6c829b473f5d7 1 parent d03180f
@vilya authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  js/main.js
View
2  js/main.js
@@ -555,7 +555,7 @@ function postprocess()
gl.useProgram(game.postprocessShader);
game.postprocessShader.enableAttribs();
- gl.uniformMatrix4fv(game.postprocessShader.uniforms['worldToViewportMatrix'], false, transform);
+ gl.uniformMatrix4fv(game.postprocessShader.uniforms['worldToViewportMatrix'], false, game.projectionMatrix);
gl.uniform1i(game.postprocessShader.uniforms['tex'], 0);
gl.uniform1fv(game.postprocessShader.uniforms['kernel'], game.postprocessKernel);
gl.uniform2fv(game.postprocessShader.uniforms['uvOffset'], game.postprocessUVOffsets);
Please sign in to comment.
Something went wrong with that request. Please try again.