SUNAG преди 9 години
родител
ревизия
86c290a276
променени са 2 файла, в които са добавени 2 реда и са изтрити 0 реда
  1. 1 0
      examples/webgl_postprocessing.html
  2. 1 0
      examples/webgl_postprocessing_glitch.html

+ 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 );
 
 
 			}