Open gentlecolts opened 11 months ago
Image information:
$ identify lauter_waterfall_4k.exr
lauter_waterfall_4k.exr EXR 4096x2048 4096x2048+0+0 16-bit RGB 13.0176MiB 0.000u 0:00.000
$ ffprobe lauter_waterfall_4k.exr
Input #0, exr_pipe, from 'lauter_waterfall_4k.exr':
Duration: N/A, bitrate: N/A
Stream #0:0: Video: exr, gbrapf32le, 4096x2048 [SAR 1:1 DAR 2:1], 25 fps, 25 tbr, 25 tbn
As a workaround, use the HDR file provided by Poly Haven.
I also have this problem with Godot 4.3.1 and can not use normal map files
I meet this problem, too. My textures is provided by Poly Haven's blender plugin.
polyhaven by default now downloads .exr
file type for normal maps
download i.e. .png
which is supported by Godot
Same with exr e.g. from Blender <version>/datafiles/studiolights/world/forest.exr
forest.zip (CC0)
modules/tinyexr/image_loader_tinyexr.cpp:70 - Unknown compression type.
It would be great when the compression is supported. It reduces the size around 7x in this case. It's terrible that e.g. hdr has not compression etc. Ok, in this case hdr file size is around half size of exr. Idk
Godot version
4.1
System information
Manjaro
Issue description
Attempted loading an exr obtained from polyhaven: https://polyhaven.com/a/lauter_waterfall Specifically, the 4k Varient, got the following error:
modules/tinyexr/image_loader_tinyexr.cpp:70 - Unknown compression type. core/io/image_loader.cpp:101 - Error loading image: res://textures/lauter_waterfall_4k.exr Error importing 'res://textures/lauter_waterfall_4k.exr'.
Steps to reproduce
Install godot from official arch repositories download above exr file, import and observe error
Minimal reproduction project
hello-godot.zip