16K HDRI Images

Hi,

I’ve had success with editing the .ini file to support 8k-16k textures, but no matter what I do, 16k HDRI images crash the editor on import immediately. I’ve been able to import 8K HDRI images without any problems (8192x4096). I’m experimenting with chopping the image up into two 8192x8192 images, but HDRIs only ever come in as a spherical cubemap, so when importing the half image, it stretches around my skysphere incorrectly no matter what.

I’m using the material shown at this link here:

http://rag3dviz.com/tutorial/hdri-lighting-in-unreal-engine/2/ (scroll down about half way)

Does anyone know of a way to import a HDR that doesnt default to a cubemap, and that I could use like a traditional texture but still have the High Dynamic Range I’m looking for? Or something I could do to this material to trick it into merging the two HDR half sphere maps into one?

Thanks for any ideas.

Oops, should have done more experimentation… just imported them as .exr’s instead of .hdris and it works fine :o

So you had imported a 16k texture? I’m in 4.18.3 + gameworks and i’ve modified the .ini files and the MAX_TEXTURE_MIP_COUNT value to 15 but nothing change, I can only import 8k texture.

I don’t know the proper solution to those problems, but I use some workarounds:

  1. 16k sky textures: A sky dome composed by two hemispheres (with proper UVs). I divide the texture in Photoshop and apply each 8k half on each hemisphere.
  2. HDR as traditional texture: I convert them to EXR (in Photoshop). EXR textures won’t be imported as cubemaps and they’ll keep the high dynamic range.
1 Like