halcyonx
What kind of formats U3D supports? Can I load and show webp fromats or smth other as Sprite2D or as SpriterAnimation?
What kind of formats U3D supports? Can I load and show webp fromats or smth other as Sprite2D or as SpriterAnimation?
According to http://urho3d.wikia.com/wiki/Texture
Urho3D Supports .dds, .png, .jpg, .gif, .tga and .bmp
Not sure about webp.
For reading, I’m pretty sure is whatever stb_image supports and dds. And for writing, whatever [stb_image_write] (https://github.com/nothings/stb/blob/master/stb_image_write.h) supports plus jpeg with the jo_jpeg libray.
Unfortunately, png format has large size, webp has best compression, I tried convert all pngs to webp in U3D sample SpriterAnimation, run sample, but hero did not appear in window