Atlassian uses cookies to improve your browsing experience, perform analytics and research, and conduct advertising. Accept all cookies to indicate that you agree to our use of cookies on your device. Atlassian cookies and tracking notice, (opens new window)

Enlighten SDK 3.10 Documentation
Results will update as you type.
  • Welcome to Enlighten
  • How Enlighten works
  • Artist workflow
  • Install Enlighten
  • Libraries
  • Implementation guide
  • Technical reference
    • Output formats
    • Albedo handling
    • Lightmap lighting models
    • Light probe evaluation
    • Local IBL reflections
    • Light visibility data
    • Custom direct lights
    • Precompute pipeline
    • Low level precompute API
    • Debugging the precompute
    • The low level runtime
    • Baked lighting
      • Baking with the High Level Build System
        • Baking parameters
        • Bake lighting configuration
        • Bake instance types
        • Per-mesh lightmaps
        • Vertex baking
        • Level of detail and baking
        • Directionality and baking
        • Transparency and baking
        • Baking file types
        • Baking light masks
        • Final Gather
      • Baking with the low level bake API
    • Performance tuning
    • Technical troubleshooting
    • Terrain LOD
    • Probe LOD
    • Lightmap LOD
  • Advanced techniques
  • Tools
  • Enlighten Mobile
  • White papers
  • Third-party licences
  • Release notes
    Calendars

You‘re viewing this with anonymous access, so some content might be blocked.
/
Baking file types

    This is the documentation for Enlighten.

    Baking file types

    Nov 21, 2019

    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

    IPrecompInputGeometry

    Precompute

    Multiple

    Mesh data is part of the standard precompute.

    Baked UVs

    BakeUVStream

    CreateBakeTargetUVs

    baking\UVTarget_<lmName>_lmType>.dat

    If you are packing the incoming UVs, this contains the UVs you should render albedo to.

    Direct Lighting

    GeoFp16Texture

    BakeOutputDirectTextures

    baking\<lightsFile>\Direct_<lmName>_lmType>.tex

    Additional directional output textures may be created (with <n> _suffix) if additional lighting normals are supplied.

    Direct Directional Irradiance

    GeoFp16Texture

    BakeOutputDirectTextures

    baking\<lightsFile>\Direct_Dir_<lmName>_lmType>.tex

    Not present if enableDirectionalIrradiance is set to false.

    Indirect Lighting

    GeoFp16Texture

    BakeOutputIndirectTextures

    baking\<lightsFile>\Indirect_<lmName>_lmType>.tex

    Additional directional output textures may be created (with <n> _suffix) if additional lighting normals are supplied.

    Indirect Directional Irradiance

    GeoFp16Texture

    BakeOutputIndirectTextures

    baking\<lightsFile>\Indirect_Dir_<lmName>_lmType>.tex

    Not present if enableDirectionalIrradiance is set to false.

    Indirect Lighting (Final Gather)

    GeoFp16Texture

    BakeOutputFinalGatherTextures

    baking\<lightsFile>\FinalGather_<lmName>_lmType>.tex

    Additional directional output textures may be created (with <n> _suffix) if additional lighting normals are supplied.

    Indirect Directional Irradiance (Final Gather)

    GeoFp16Texture

    BakeOutputFinalGatherTextures

    baking\<lightsFile>\FinalGather_Dir_<lmName>_lmType>.tex

    Not present if enableDirectionalIrradiance is set to false.

    Ambient Occlusion

    GeoFp16Texture

    BakeOutputAOTextures

    baking\AO_<lmName>_lmType>.tex


    Radiosity Normal Textures

    GeoFp16Texture

    BakeOutputRadiosityNormalTextures

    baking\RadiosityNormal_<lmName>_lmType>.tex

    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"
    
    , multiple selections available,
    {"serverDuration": 9, "requestCorrelationId": "6e91420149f841cb976afa5452c9c05b"}