Skip to content

Calculating the transparency value in linear color space from the value in sRGB color space.

License

Notifications You must be signed in to change notification settings

xr-campus-dev/TransparencyConverter

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Transparency Converter

Transparency Converterは、sRGB色空間の透明度の値からリニア色空間の透明度の値を計算するためのUnityパッケージです。
これを使うことにより、開発者/デザイナーは、外部ツールを使ってsRGB色空間で設計した色とUnityで最終出力する色を同じ色にすることができます。
特に、実行時にリニア色空間で透明度の値を変更する場合に便利です。

Transparency Converter is a Unity package for calculating the transparency value in linear color space from the value in sRGB color space.
This allows developers/designers to make the final output colors using Unity the same as the colors designed in sRGB color space using external tools.
This would be especially useful when changing transparency values in linear color space at runtime.

How to install

https://github.com/sotanmochi/TransparencyConverter.git?path=Assets/TransparencyConverter

How to use

Tested Environment

  • Unity 2020.3.27f1

References

License

このライブラリは、MIT Licenseでライセンスされています。
This library is licensed under the MIT License.

About

Calculating the transparency value in linear color space from the value in sRGB color space.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C# 87.3%
  • ShaderLab 12.7%