Explorar o código

fix non-relative textures for msaa and smaa examples.

Ben Houston %!s(int64=9) %!d(string=hai) anos
pai
achega
406c0997e0

+ 1 - 1
examples/webgl_postprocessing_msaa.html

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

+ 1 - 1
examples/webgl_postprocessing_smaa.html

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