This is the documentation for Enlighten.
Baking file types
The HLBS is a file based API, so a critical part of driving it is to know the file types and where they go. The following chart shows the file content, the class used in the LoadInterface<>
C++ API, the GeoPrecompute target that generates it, and the file location.
Type | C++ Class | Target | Location | Notes |
---|---|---|---|---|
Mesh data |
|
| Multiple | Mesh data is part of the standard precompute. |
Baked UVs |
|
|
| If you are packing the incoming UVs, this contains the UVs you should render albedo to. |
Direct Lighting |
|
|
| Additional directional output textures may be created (with |
Direct Directional Irradiance |
|
|
| Not present if enableDirectionalIrradiance is set to false. |
Indirect Lighting |
|
|
| Additional directional output textures may be created (with |
Indirect Directional Irradiance |
|
|
| Not present if enableDirectionalIrradiance is set to false. |
Indirect Lighting (Final Gather) |
|
|
| Additional directional output textures may be created (with |
Indirect Directional Irradiance (Final Gather) |
|
|
| Not present if enableDirectionalIrradiance is set to false. |
Ambient Occlusion |
|
|
| |
Radiosity Normal Textures |
|
|
| Not present if enableDirectionalIrradiance is set to false. |
If you need to view the contents of .tex
files, you can convert them to .exr
for viewing in Photoshop or Irfanview, using GeoConvert.exe /converttextoexr input.tex output.exr
.
To convert all files in a folder, use a batch script as follows:
@echo off rem for %%i in (*.tex) do echo %%i for %%i in (*.tex) do C:\Path\To\GeoConvert.exe /converttextoexr "%%~dpni.tex" "%%~dpni.exr"