2
0
Huw Bowles 13 жил өмнө
parent
commit
3287e06c81

+ 2 - 2
examples/webgl_postprocessing_godrays.html

@@ -86,7 +86,7 @@
 
 
 				renderer.sortObjects = false;
 				renderer.sortObjects = false;
 
 
-                // todo - try with fog?
+                // todo - try with fog
 				//scene.fog = new THREE.Fog( 0xffaa55, 1000, FAR );
 				//scene.fog = new THREE.Fog( 0xffaa55, 1000, FAR );
 				//THREE.ColorUtils.adjustHSV( scene.fog.color, 0.02, -0.15, -0.65 );
 				//THREE.ColorUtils.adjustHSV( scene.fog.color, 0.02, -0.15, -0.65 );
                 
                 
@@ -341,7 +341,7 @@
 				    postprocessing.godray_gen_uniforms[ "tInput" ].texture = postprocessing.rtTextureGodRays2;
 				    postprocessing.godray_gen_uniforms[ "tInput" ].texture = postprocessing.rtTextureGodRays2;
 			        renderer.render( postprocessing.scene, postprocessing.camera , postprocessing.rtTextureGodRays1  );
 			        renderer.render( postprocessing.scene, postprocessing.camera , postprocessing.rtTextureGodRays1  );
 				    
 				    
-			        // pass 3 - RT
+			        // pass 3 - 1st RT
 			        pass = 3.0;
 			        pass = 3.0;
 				    stepLen = filterLen*Math.pow(TAPS_PER_PASS, -pass);
 				    stepLen = filterLen*Math.pow(TAPS_PER_PASS, -pass);
 			        postprocessing.godray_gen_uniforms[ "fStepSize" ].value = stepLen;
 			        postprocessing.godray_gen_uniforms[ "fStepSize" ].value = stepLen;