Is there a way to pack mipmaps into one file, using cmgen or mipgen? #5103
Unanswered
EnviralDesign
asked this question in
Q&A
Replies: 1 comment 2 replies
-
|
You can use -f ktx to ask cmgen to export results as a KTX file containing all mip levels and all cube faces. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello, I'm using the cmgen program as a command line utility, to generate the prefiltered ibl. the result is many files, and since I'm using this and the filament shader system in another project, it's very tedious to manually compile all these mip levels and cube map faces into a single atlas.
I have a solution to automate the assembly of the cubemap faces, but I have not yet found a way to merge all the mip levels into one texture, like DDS, that supports mip maps natively.
Any idea on how to do this, inside or outside of Filament?
Right now, this is my batch file:
Beta Was this translation helpful? Give feedback.
All reactions