You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi !
I'm looking at cmgen provided with Filament, but I'm a bit confused about it usage.
(To clarify the intended use is not for Filament but for another software.)
I was hoping to be able to use cmgen to pre-filter my cubemaps for IBL lighting (radiance notably).
So far I can only output the mip level as individual files using the extract command, I cannot find a way to get a single dds file with all the mips together.
Using: cmgen -f dds -x ./out cubemap.exr
Is there a way to output a single dds file in cube format that contains all the mip levels ?
Or are we supposed to build that final cubemap file ourselves via another tool ? If so which one ?
The documentation inside BUILDING.md via the section Running the native samples doesn't explain followup steps. Also I saw that the example uses the ktx format, which produce files I cannot inspect (or I don't know tools that allow it). Ideally I would prefer to use DDS in my other software.
Thanks in advance. :)
The text was updated successfully, but these errors were encountered:
No idea, we live in a world of GL/Vulkan/Metal, so DDS is not really something we ever worried about/looked into. KTX is easy to handle btw (esp. KTX1, it's essentially a direct memory mapping from GL constants to bytes on disk).
Hi !
I'm looking at cmgen provided with Filament, but I'm a bit confused about it usage.
(To clarify the intended use is not for Filament but for another software.)
I was hoping to be able to use cmgen to pre-filter my cubemaps for IBL lighting (radiance notably).
So far I can only output the mip level as individual files using the extract command, I cannot find a way to get a single dds file with all the mips together.
Using:
cmgen -f dds -x ./out cubemap.exr
Is there a way to output a single dds file in cube format that contains all the mip levels ?
Or are we supposed to build that final cubemap file ourselves via another tool ? If so which one ?
The documentation inside BUILDING.md via the section Running the native samples doesn't explain followup steps. Also I saw that the example uses the ktx format, which produce files I cannot inspect (or I don't know tools that allow it). Ideally I would prefer to use DDS in my other software.
Thanks in advance. :)
The text was updated successfully, but these errors were encountered: