atteneder / KtxUnity

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

Separate alpha texture support #4

Open atteneder opened 5 years ago

atteneder commented 5 years ago

Add ability to export color and alpha as separate textures. Makes sense on platforms where none of the compressed alpha texture formats is supported. Some shaders might also work like that , so it might be usefule anyways.

Use-case: No alpha texture on WebGL Android Chrome.

kyapp69 commented 2 years ago

I also second this as on platforms which does not support alpha, we would create a specific shader that uses a greyscale texture as an alphamask.