From 45e22a1b636241147934e8bd9f22d506ccfc3cf0 Mon Sep 17 00:00:00 2001 From: Cody Bennett Date: Sat, 30 Dec 2023 06:19:00 -0600 Subject: [PATCH] fix(EXRLoader): support longname flag (#330) --- src/loaders/EXRLoader.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/loaders/EXRLoader.js b/src/loaders/EXRLoader.js index f6b7e9ed..fd311038 100644 --- a/src/loaders/EXRLoader.js +++ b/src/loaders/EXRLoader.js @@ -1655,7 +1655,8 @@ class EXRLoader extends DataTextureLoader { } } - if (spec != 0) { + if ((spec & ~0x04) != 0) { + // unsupported tiled, deep-image, multi-part console.error('EXRHeader:', EXRHeader) throw 'THREE.EXRLoader: provided file is currently unsupported.' }