createKTX1Environment
Utility for producing environment resources from precompiled cmgen generated KTX files.
Consumes the content of KTX files and produces an IndirectLight, SphericalHarmonics and a Skybox
You can generate ktx ibl and skybox files using:
cmgen --deploy ./output --format=ktx --size=256 --extract-blur=0.1 environment.hdr
Documentation: Filament - Bake environment map
Return
the generated environment indirect light, sphericalHarmonics and skybox from the ktxs.
Parameters
The content of the ibl KTX File.
The content of the skybox KTX File.
Utility for producing environment resources from precompiled cmgen generated KTX files.
Consumes the content of KTX files and produces an IndirectLight, SphericalHarmonics and a Skybox
You can generate ktx ibl and skybox files using:
cmgen --deploy ./output --format=ktx --size=256 --extract-blur=0.1 environment.hdr
Documentation: Filament - Bake environment map
Return
the generated environment indirect light, sphericalHarmonics and skybox from the ktxs.
Parameters
The ibl KTX asset file location.
The skybox KTX asset file location.
Utility for producing environment resources from precompiled cmgen generated KTX files.
Consumes the content of KTX files and produces an IndirectLight, SphericalHarmonics and a Skybox
You can generate ktx ibl and skybox files using:
cmgen --deploy ./output --format=ktx --size=256 --extract-blur=0.1 environment.hdr
Documentation: Filament - Bake environment map
Return
the generated environment indirect light, sphericalHarmonics and skybox from the ktxs.
Parameters
The ibl KTX file raw resource id.
The skybox KTX file raw resource id.
Utility for producing environment resources from precompiled cmgen generated KTX files.
Consumes the content of KTX files and produces an IndirectLight, SphericalHarmonics and a Skybox
You can generate ktx ibl and skybox files using:
cmgen --deploy ./output --format=ktx --size=256 --extract-blur=0.1 environment.hdr
Documentation: Filament - Bake environment map
Return
the generated environment indirect light, sphericalHarmonics and skybox from the ktxs.
Parameters
The ibl KTX File.
The skybox KTX File.