summaryrefslogtreecommitdiffstats
path: root/src/extras/shaders/leedsVehicle_mobile.vert
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/extras/shaders/leedsVehicle_mobile.vert2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/extras/shaders/leedsVehicle_mobile.vert b/src/extras/shaders/leedsVehicle_mobile.vert
index e18c2f02..b2123fa4 100644
--- a/src/extras/shaders/leedsVehicle_mobile.vert
+++ b/src/extras/shaders/leedsVehicle_mobile.vert
@@ -26,11 +26,9 @@ main(void)
v_color = in_color;
vec4 combinedAmbient = mix(u_emiss, u_amb, Normal.z);
-// v_color.rgb += u_ambLight.rgb*surfAmbient;
v_color.rgb += combinedAmbient.rgb*surfAmbient;
v_color.rgb += DoDynamicLight(Vertex.xyz, Normal)*surfDiffuse;
v_lightingCont = max(0.5, (v_color.r + v_color.g + v_color.b) / 3.0);
-// v_color = clamp(v_color, 0.0, 1.0);
v_color *= u_matColor;
// for fresnel