SUNAG 9 anni fa
parent
commit
86c290a276

+ 1 - 0
examples/webgl_postprocessing.html

@@ -97,6 +97,7 @@
 				camera.updateProjectionMatrix();
 
 				renderer.setSize( window.innerWidth, window.innerHeight );
+				composer.setSize( window.innerWidth, window.innerHeight );
 
 			}
 

+ 1 - 0
examples/webgl_postprocessing_glitch.html

@@ -120,6 +120,7 @@
 				camera.updateProjectionMatrix();
 
 				renderer.setSize( window.innerWidth, window.innerHeight );
+				composer.setSize( window.innerWidth, window.innerHeight );
 
 
 			}