BlurHash encode/decode for Unity.
This repo wrapped MarkusPalcer/blurhash.net for simple to use in Unity.
-
Download
BlurHash.unitypackage
and import it you project -
using Blurhash.Unity;
and use the following method to encode/decode:
BlurHash.EncodeToBlurHash(Texture2D);
BlurHash.DecodeToTexture2D(BlurHash);
BlurHash.DecodeToColor32(BlurHash);