Welcome to mirror list, hosted at ThFree Co, Russian Federation.
1 2 3 4 5 6
void main() { fragColor = simple_lighting_data.color; fragColor.xyz *= clamp(dot(normalize(normal), simple_lighting_data.light), 0.0, 1.0); }