lygia
/lighting
/light
/resolve
)Dependencies:
lygia
/lighting
/light
/point
.glsl
lygia
/lighting
/light
/pointEvaluate
.glsl
lygia
/lighting
/light
/directional
.glsl
lygia
/lighting
/light
/directionalEvaluate
.glsl
lygia
/lighting
/material
.glsl
#ifndef FNC_LIGHT_RESOLVE
#define FNC_LIGHT_RESOLVE
void lightResolve(LightPoint L, Material mat, inout ShadingData shadingData) {
lightPointEvaluate(L, mat, shadingData);
}
void lightResolve(LightDirectional L, Material mat, inout ShadingData shadingData) {
lightDirectionalEvaluate(L, mat, shadingData);
}
#endif
Dependencies:
lygia
/lighting
/light
/point
.glsl
lygia
/lighting
/light
/pointEvaluate
.glsl
lygia
/lighting
/light
/directional
.glsl
lygia
/lighting
/light
/directionalEvaluate
.glsl
lygia
/lighting
/material
.glsl
#ifndef FNC_LIGHT_RESOLVE
#define FNC_LIGHT_RESOLVE
void lightResolve(LightPoint L, Material mat, inout ShadingData shadingData) {
lightPointEvaluate(L, mat, shadingData);
}
void lightResolve(LightDirectional L, Material mat, inout ShadingData shadingData) {
lightDirectionalEvaluate(L, mat, shadingData);
}
#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