jp.keijiro.spectral-js-unity
v1.0.0
Published
Spectral.js is a paint like color mixing library utilizing the Kubelka-Munk theory.
Downloads
43
Readme
Spectral.js for Unity
(Left: Linear interpolation in sRGB, Right: Mix with Spectral.js)
Spectral.js is a lightweight library for realistic color mixing based on the Kubelka-Munk theory. It's designed specifically for developers and artists aiming to implement realistic pigment mixing in their projects.
Originally created by Ronald van Wijnen, this repository provides a straightforward port of the library for Unity.
Project Status
Currently, it includes only an HLSL shader implementation. C# scripts are planned for a future update.
System requirements
- Unity 6
How to install
Follow those instructions to set up the scoped registry. Then, you can install the Spectral.js for Unity package via Package Manager.
