lygia
/v1.1.6
/color
/palette
/spectral
/geoffrey
)Use:
<vec3> spectral_geoffrey(<float> x)
#ifndef FNC_SPECTRAL_GEOFFREY
#define FNC_SPECTRAL_GEOFFREY
vec3 spectral_geoffrey(float t) {
vec3 r = (t * 2.0 - 0.5) * 2.1 - vec3(1.8, 1.14, 0.3);
return 0.99 - r * r;
}
#endif
Use:
<float3> spectral_geoffrey(<float> x)
#ifndef FNC_SPECTRAL_GEOFFREY
#define FNC_SPECTRAL_GEOFFREY
float3 spectral_geoffrey(float t) {
float3 r = (t * 2.0 - 0.5) * 2.1 - float3(1.8, 1.14, 0.3);
return 0.99 - r * r;
}
#endif
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.
Sign up for the news letter bellow, joing the LYGIA's channel on Discord or follow the Github repository