Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support Polyhaven EXR normalmaps #952

Open
RobertBeckebans opened this issue Dec 16, 2024 · 4 comments
Open

Support Polyhaven EXR normalmaps #952

RobertBeckebans opened this issue Dec 16, 2024 · 4 comments

Comments

@RobertBeckebans
Copy link
Owner

No description provided.

@RobertBeckebans
Copy link
Owner Author

It seems that that kind of .exr format isn't supported by TinyEXR

@Calinou
Copy link

Calinou commented Jan 9, 2025

It seems that that kind of .exr format isn't supported by TinyEXR

It's strange because these EXR files load just fine in Godot, which uses TinyEXR. I remember TinyEXR gained EXR compression support relatively recently, which is required to open many EXR files out there.

This is the copy of TinyEXR used by Godot: https://github.com/godotengine/godot/tree/master/thirdparty/tinyexr

See its third-party notice too: https://github.com/godotengine/godot/tree/master/thirdparty#tinyexr

@RobertBeckebans
Copy link
Owner Author

I replaced tinyexr.h with the version you linked and I still get this:
image

@RobertBeckebans
Copy link
Owner Author

I went through the debugger and it wants texture compression format 8 however the library only has these

#define TINYEXR_COMPRESSIONTYPE_NONE (0)
#define TINYEXR_COMPRESSIONTYPE_RLE (1)
#define TINYEXR_COMPRESSIONTYPE_ZIPS (2)
#define TINYEXR_COMPRESSIONTYPE_ZIP (3)
#define TINYEXR_COMPRESSIONTYPE_PIZ (4)
#define TINYEXR_COMPRESSIONTYPE_ZFP (128)  // TinyEXR extension

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants