Przeglądaj źródła

Merge pull request #17207 from Mugen87/dev31

Examples: Clean up.
Michael Herzog 6 lat temu
rodzic
commit
d41db0e13e

+ 1 - 1
examples/webgl_materials_clearcoat_normalmap.html

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