Browse Source

fix non-relative textures for msaa and smaa examples.

Ben Houston 9 years ago
parent
commit
406c0997e0

+ 1 - 1
examples/webgl_postprocessing_msaa.html

@@ -67,7 +67,7 @@
 			stats.domElement.style.top = '0px';
 			stats.domElement.style.top = '0px';
 			container.appendChild( stats.domElement );
 			container.appendChild( stats.domElement );
 
 
-			textureLoader.load( "textures/brick_diffuse.jpg", function( meshTexture ) {
+			textureLoader.load( "./textures/brick_diffuse.jpg", function( meshTexture ) {
 				init( meshTexture );
 				init( meshTexture );
 				animate();
 				animate();
 				clearGui();
 				clearGui();

+ 1 - 1
examples/webgl_postprocessing_smaa.html

@@ -33,7 +33,7 @@
 
 
 			var textureLoader = new THREE.TextureLoader();
 			var textureLoader = new THREE.TextureLoader();
 
 
-			textureLoader.load( "textures/brick_diffuse.jpg", function( meshTexture ) {
+			textureLoader.load( "./textures/brick_diffuse.jpg", function( meshTexture ) {
 				init( meshTexture );
 				init( meshTexture );
 				animate();
 				animate();
 			});
 			});