This package aims to provide a simple and easy way to import or load AVIF image files in your Unity projects.
You can import AVIF image files as a Texture2D or Sprite in Editor, or load AVIF image files directly at runtime.
For Unreal Engine, please use: AVIF Loader for Unreal Engine
Features:
Workflow of importing AVIF image files is similar with importing other normal format images;
Importing AVIF image files as a Texture2D or Sprite in Editor;
Marking Readable supported;
Transparent (Alpha) channel supported;
Generating Mip Maps supported;
DXT1/DXT5 compression with different quality supported when importing;
Loading AVIF image files directly at runtime;
Compatible with Built-in Render Pipeline, URP and HDRP;
Encoding other normal format images to AVIF image files; (Experimental)
Very easy to use;
Note:
* Tested in Unity 2019.4.28, Unity 2020.3.38 and Unity 2021.3.6. The newer Unity version should also work;
* This package only support 64-bit Unity Editor and Standalone Player on Windows for now!
* This package doesn’t support AVIF image sequences for now!
Support:
If you have any questions, issues or suggestions, feel free to email me at:
reformsim@outlook.com