Skip to content

BlurHash encode/decode for Unity

Notifications You must be signed in to change notification settings

pofulu/unity-blurhash

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

image-20210701230719591

BlurHash encode/decode for Unity.

This repo wrapped MarkusPalcer/blurhash.net for simple to use in Unity.

Usage

  1. Download BlurHash.unitypackage and import it you project

  2. using Blurhash.Unity; and use the following method to encode/decode:

BlurHash.EncodeToBlurHash(Texture2D);
BlurHash.DecodeToTexture2D(BlurHash);
BlurHash.DecodeToColor32(BlurHash);