0
0
Fork 0
mirror of https://github.com/ZDoom/raze-gles.git synced 2025-01-15 04:00:53 +00:00
raze-gles/wadsrc/static/shaders/glsl/material_nolight.fp
2020-05-30 23:10:17 +02:00

5 lines
147 B
GLSL

vec3 ProcessMaterialLight(Material material, vec3 color)
{
return material.Base.rgb * clamp(color + desaturate(uDynLightColor).rgb, 0.0, 1.4);
}