Skip to content
Snippets Groups Projects
Commit d38fd1e7 authored by Andrey Kleshchev's avatar Andrey Kleshchev
Browse files

SL-13081 Model is unnaturally grey

parent 311921ca
No related branches found
No related tags found
No related merge requests found
......@@ -93,6 +93,5 @@ void main()
col.rgb += light_diffuse[1].rgb * calcDirectionalLight(norm, light_position[1].xyz);
col.rgb += light_diffuse[2].rgb*calcLocalLight(pos.xyz, norm, light_position[2], light_direction[2], light_attenuation[2].x, light_attenuation[2].z);
col.rgb += light_diffuse[3].rgb*calcLocalLight(pos.xyz, norm, light_position[3], light_direction[3], light_attenuation[3].x, light_attenuation[3].z);
col /= 2.0;
vertex_color = col*color;
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment