-
Notifications
You must be signed in to change notification settings - Fork 14
How to Inject .HDR textures
⚠️ This is an old method. The tool supports.hdr
now!
UE4 uses BC6Hu
(not BC6Hs
!) as the format for HDR textures.
But most texture tools do not support it.
The only confirmed method is the one introduced here.
* We can't use other texture tools. I haven't test all tools, but at least, GIMP and Paint.net won't work.
Edit .hdr
with Photoshop.
* I don't have PS, so can't explain how to edit.
We will convert .hdr
to BC6Hu
with texconv.
But it doesn't support GUI.
So, we need to make a batch file to run it first.
Copy the text below and save as to_BC6Hu.bat
with notepad.
@echo off
@if "%~1"=="" goto skip
@pushd %~dp0
texconv.exe -f BC6H_UF16 -y "%~1"
@popd
pause
:skip
Then, put the .bat
into the same directory as texconv.exe
.
Drop .hdr
onto to_BC6Hu.bat
.
BC6Hu texture (.dds
) will be generated.
Inject the .dds
with my DDS tool.
We won't get warnings about the format.