atteneder / KtxUnity

Load KTX and Basis Universal textures at runtime
Apache License 2.0
215 stars 42 forks source link

KTX export/encoding support #46

Open oaishi opened 2 years ago

oaishi commented 2 years ago

Hi! Thanks a lot for this great resource! It is really helpful! I was wondering if there is a way to directly save RenderTexture data as .ktx file.

Currently, I am using Texture2D.EncodeToPNG() that converts the texture into a .png image and then using ktx command line operation to get the corresponding .ktx file. I wanted to directly save it into a .ktx file.

atteneder commented 2 years ago

Hi @oaishi ,

Thanks for your interest!

KTX encoding is definitely something I want as well, especially for the glTF export I currently work on. I can't offer a timeline, but I hope to be able to work on encoding support end of 2021/early 2022.

Of course help is always appreciated.

Kind regards, Andi

oaishi commented 2 years ago

Thanks @atteneder! I look forward to having this functionality soon! If I come up with anything useful, I will ofcourse share with you! I would also appreciate if you let me know when this new feature is available to use! 😄

atteneder commented 2 years ago

@oaishi Sure! Let's keep this issue open. You're subscribed already and will get notified when someone posts a comment or it is closed.

oaishi commented 2 years ago

Thanks again, @atteneder!