Explorar o código

Examples: Clean up.

Mugen87 %!s(int64=6) %!d(string=hai) anos
pai
achega
a6b46d9c5d
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      examples/webgl_materials_clearcoat_normalmap.html

+ 1 - 1
examples/webgl_materials_clearcoat_normalmap.html

@@ -58,7 +58,7 @@
 			scene.add( group );
 
 			new HDRCubeTextureLoader()
-				.setType( THREE.UnsignedByteType )
+				.setDataType( THREE.UnsignedByteType )
 				.setPath( './textures/cube/pisaHDR/' )
 				.load( [ 'px.hdr', 'nx.hdr', 'py.hdr', 'ny.hdr', 'pz.hdr', 'nz.hdr' ],
 					function ( hdrCubeMap ) {