mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-11 07:11:54 +00:00
5 lines
147 B
GLSL
5 lines
147 B
GLSL
|
|
vec3 ProcessMaterialLight(Material material, vec3 color)
|
|
{
|
|
return material.Base.rgb * clamp(color + desaturate(uDynLightColor).rgb, 0.0, 1.4);
|
|
}
|