mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-29 04:50:42 +00:00
6 lines
147 B
Text
6 lines
147 B
Text
|
|
||
|
vec3 ProcessMaterialLight(Material material, vec3 color)
|
||
|
{
|
||
|
return material.Base.rgb * clamp(color + desaturate(uDynLightColor).rgb, 0.0, 1.4);
|
||
|
}
|