Browse Source

Merge pull request #17207 from Mugen87/dev31

Examples: Clean up.
Michael Herzog 6 years ago
parent
commit
d41db0e13e
1 changed files with 1 additions and 1 deletions
  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 ) {