This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using UnityEngine; | |
/* | |
* Oklab Unity implementation by Ferran Bertomeu Castells @fonserbc | |
* | |
* Oklab by Björn Ottosson https://bottosson.github.io/posts/oklab/ | |
* under Public Domain | |
* | |
* For the conversions, I understand unity's Color as a gamma-space color | |
*/ |