Explorar o código

Examples: Change from HalfFloat to Float in envMap EXR demo.

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

+ 1 - 1
examples/webgl_materials_envmaps_exr.html

@@ -74,7 +74,7 @@
 				scene.add( planeMesh );
 
 				new EXRLoader()
-					.setDataType( THREE.HalfFloatType )
+					.setDataType( THREE.FloatType )
 					.load( 'textures/piz_compressed.exr', function ( texture ) {
 
 						texture.minFilter = THREE.NearestFilter;