Commit d30fa6c6 authored by amandaghassaei's avatar amandaghassaei
Browse files

small changes

parent 709bcbd1
......@@ -158,6 +158,9 @@ function initThreeView(globals) {
renderer.setSize(window.innerWidth, window.innerHeight);
var width = window.innerWidth;
var height = window.innerHeight;
ssaoPass.uniforms[ 'size' ].value.set( width, height );
var pixelRatio = renderer.getPixelRatio();
var newWidth = Math.floor( width / pixelRatio ) || 1;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment