gzdoom-gles/wadsrc/static/shaders/glsl/material_nolight.fp

6 lines
129 B
Text
Raw Normal View History

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