@@ -93,7 +93,7 @@ class EXRLoader extends DataTextureLoader {
super( manager );
- this.type = FloatType;
+ this.type = HalfFloatType;
}
@@ -22,7 +22,7 @@ class HDRCubeTextureLoader extends Loader {
this.hdrLoader = new RGBELoader();
@@ -21,7 +21,7 @@ class RGBELoader extends DataTextureLoader {
@@ -40,7 +40,6 @@
scene = new THREE.Scene();
new RGBELoader()
- .setDataType( THREE.FloatType )
.setPath( 'textures/equirectangular/' )
.load( 'royal_esplanade_1k.hdr', function ( texture ) {
@@ -158,7 +158,6 @@
// Load background and generate envMap
.load( 'venice_sunset_1k.hdr', function ( texture ) {
@@ -42,7 +42,6 @@
@@ -43,7 +43,6 @@
.load( 'quarry_01_1k.hdr', function ( texture ) {
@@ -48,7 +48,6 @@
camera = new THREE.OrthographicCamera( - aspect, aspect, 1, - 1, 0, 1 );
new EXRLoader()
.load( 'textures/memorial.exr', function ( texture, textureData ) {
// memorial.exr is NPOT
@@ -46,7 +46,6 @@
scene.add( group );
new HDRCubeTextureLoader()
.setPath( 'textures/cube/pisaHDR/' )
.load( [ 'px.hdr', 'nx.hdr', 'py.hdr', 'ny.hdr', 'pz.hdr', 'nz.hdr' ],
function ( texture ) {
@@ -113,7 +113,6 @@
} );
@@ -39,7 +39,6 @@
let mesh;
const hdrEquirect = new RGBELoader()
.load( 'royal_esplanade_1k.hdr', function () {
@@ -121,7 +121,6 @@
const filename = environments[ name ].filename;
.load( filename, function ( hdrEquirect ) {
@@ -47,7 +47,6 @@
.load( 'pedestrian_overpass_1k.hdr', function ( texture ) {
@@ -52,7 +52,6 @@
imgTexture = null;
@@ -63,7 +63,6 @@
@@ -85,7 +85,6 @@
controls.update();
const rgbeLoader = new RGBELoader()
.setPath( 'textures/equirectangular/' );
const gltfLoader = new GLTFLoader().setPath( 'models/gltf/DamagedHelmet/glTF/' );