LYGIA Shader Library

pigments (lygia/color/palette/pigments)

Basic default color pigments. For specific manufacturer pigments you can use the following:

- winsor_oil

- rembrandt_oil

- gamblin_oil

- winsor_acrylics

- golden_acrylics

- liquitex_acrylics

- winsor_gouache

Check it on Github


#ifndef TITANIUM_WHITE
#define TITANIUM_WHITE vec3(0.973, 0.961, 0.929)
#endif

#ifndef CADMIUM_YELLOW
#define CADMIUM_YELLOW vec3(0.996, 0.925, 0.000)
#endif

#ifndef HANSA_YELLOW
#define HANSA_YELLOW vec3(0.988, 0.827, 0.000)
#endif 

#ifndef YELLOW_OCHRE
#define YELLOW_OCHRE vec3(0.706, 0.486, 0.188)
#endif

#ifndef CADMIUM_ORANGE
#define CADMIUM_ORANGE vec3(1.000, 0.412, 0.000)
#endif 

#ifndef CADMIUM_RED
#define CADMIUM_RED vec3(1.000, 0.153, 0.008)
#endif 

#ifndef QUINACRIDONE_MAGENTA
#define QUINACRIDONE_MAGENTA vec3(0.502, 0.008, 0.180)
#endif 

#ifndef COBALT_VIOLET
#define COBALT_VIOLET vec3(0.306, 0.000, 0.259)
#endif 

#ifndef ULTRAMARINE_BLUE
#define ULTRAMARINE_BLUE vec3(0.098, 0.000, 0.349)
#endif 

#ifndef COBALTE_BLUE
#define COBALTE_BLUE vec3(0.000, 0.129, 0.522)
#endif 

#ifndef PHTHALO_BLUE
#define PHTHALO_BLUE vec3(0.051, 0.106, 0.267)
#endif 

#ifndef PHTHALO_GREEN
#define PHTHALO_GREEN vec3(0.000, 0.235, 0.196)
#endif 

#ifndef PERMANENT_GREEN
#define PERMANENT_GREEN vec3(0.027, 0.427, 0.086)
#endif 

#ifndef SAP_GREEN
#define SAP_GREEN vec3(0.420, 0.580, 0.016)
#endif 

#ifndef BURNT_SIENNA
#define BURNT_SIENNA vec3(0.482, 0.282, 0.000)
#endif 

#ifndef IVORY_BLACK
#define IVORY_BLACK vec3(0.180, 0.180, 0.180)
#endif

Check it on Github


#ifndef TITANIUM_WHITE
#define TITANIUM_WHITE float3(0.973, 0.961, 0.929)
#endif

#ifndef CADMIUM_YELLOW
#define CADMIUM_YELLOW float3(0.996, 0.925, 0.000)
#endif 

#ifndef HANSA_YELLOW
#define HANSA_YELLOW float3(0.988, 0.827, 0.000)
#endif 

#ifndef YELLOW_OCHRE
#define YELLOW_OCHRE float3(0.706, 0.486, 0.188)
#endif

#ifndef CADMIUM_ORANGE
#define CADMIUM_ORANGE float3(1.000, 0.412, 0.000)
#endif 

#ifndef CADMIUM_RED
#define CADMIUM_RED float3(1.000, 0.153, 0.008)
#endif 

#ifndef QUINACRIDONE_MAGENTA
#define QUINACRIDONE_MAGENTA float3(0.502, 0.008, 0.180)
#endif 

#ifndef COBALT_VIOLET
#define COBALT_VIOLET float3(0.306, 0.000, 0.259)
#endif 

#ifndef ULTRAMARINE_BLUE
#define ULTRAMARINE_BLUE float3(0.098, 0.000, 0.349)
#endif 

#ifndef COBALTE_BLUE
#define COBALTE_BLUE float3(0.000, 0.129, 0.522)
#endif 

#ifndef PHTHALO_BLUE
#define PHTHALO_BLUE float3(0.051, 0.106, 0.267)
#endif 

#ifndef PHTHALO_BLUE
#define PHTHALO_BLUE float3(0.000, 0.235, 0.196)
#endif 

#ifndef PERMANENT_GREEN
#define PERMANENT_GREEN float3(0.027, 0.427, 0.086)
#endif 

#ifndef SAP_GREEN
#define SAP_GREEN float3(0.420, 0.580, 0.016)
#endif 

#ifndef BURNT_SIENNA
#define BURNT_SIENNA float3(0.482, 0.282, 0.000)
#endif 

#ifndef IVORY_BLACK
#define IVORY_BLACK float3(0.180, 0.180, 0.180)
#endif

Examples

Licenses

LYGIA is dual-licensed under the Prosperity License and the Patron License for sponsors and contributors.

Sponsors and contributors are automatically added to the Patron License and they can ignore the any non-commercial rule of the Prosperity Licensed software (please take a look to the exception).

It's also possible to get a permanent comercial license hook to a single and specific version of LYGIA.

Get the latest news and releases

Sign up for the news letter bellow, joing the LYGIA's channel on Discord or follow the Github repository