atteneder / KtxUnity

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

Generate mipmaps at runtime if levelCount=0 #50

Open atteneder opened 2 years ago

atteneder commented 2 years ago

π‘™π‘’π‘£π‘’π‘™πΆπ‘œπ‘’π‘›π‘‘=0 is allowed, except for block-compressed formats, and means that a file contains only the base level and consumers, particularly loaders, should generate other levels if needed.

KTX specification, Section 3.7

So according to this, KtxUnity should ensure that mipmaps are generated for those types of ktx files.