2018-02-19 23:13:05 +00:00
|
|
|
|
2018-07-15 21:01:40 +00:00
|
|
|
vec3 ProcessMaterialLight(Material material, vec3 color)
|
2018-02-19 23:13:05 +00:00
|
|
|
{
|
2018-07-15 21:01:40 +00:00
|
|
|
return material.Base.rgb * clamp(color + desaturate(uDynLightColor).rgb, 0.0, 1.4);
|
2018-02-19 23:13:05 +00:00
|
|
|
}
|