summaryrefslogtreecommitdiffstats
path: root/src/extras/shaders/neoVehicle.vert
diff options
context:
space:
mode:
authoraap <aap@papnet.eu>2021-02-15 15:06:30 +0100
committeraap <aap@papnet.eu>2021-02-15 15:06:37 +0100
commitadf688635a9a9fb72dc6b33a8b808edb9ca31f49 (patch)
treee1ae6acf5bdaea994ade8fb97c25bf93effc7ec2 /src/extras/shaders/neoVehicle.vert
parentRevert "always console for windows Debug builds" (diff)
downloadre3-adf688635a9a9fb72dc6b33a8b808edb9ca31f49.tar
re3-adf688635a9a9fb72dc6b33a8b808edb9ca31f49.tar.gz
re3-adf688635a9a9fb72dc6b33a8b808edb9ca31f49.tar.bz2
re3-adf688635a9a9fb72dc6b33a8b808edb9ca31f49.tar.lz
re3-adf688635a9a9fb72dc6b33a8b808edb9ca31f49.tar.xz
re3-adf688635a9a9fb72dc6b33a8b808edb9ca31f49.tar.zst
re3-adf688635a9a9fb72dc6b33a8b808edb9ca31f49.zip
Diffstat (limited to '')
-rw-r--r--src/extras/shaders/neoVehicle.vert2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/extras/shaders/neoVehicle.vert b/src/extras/shaders/neoVehicle.vert
index f0224ddb..6985a689 100644
--- a/src/extras/shaders/neoVehicle.vert
+++ b/src/extras/shaders/neoVehicle.vert
@@ -42,7 +42,7 @@ main(void)
v_tex1 = uv2.xy*0.5 + 0.5;
float b = 1.0 - clamp(dot(viewVec, Normal), 0.0, 1.0);
v_reflcolor = vec4(0.0, 0.0, 0.0, 1.0);
- v_reflcolor.a = mix(b*b*b*b*b, 1.0f, fresnel)*shininess;
+ v_reflcolor.a = mix(b*b*b*b*b, 1.0, fresnel)*shininess;
for(int i = 0; i < 5; i++)
v_reflcolor.rgb += DoDirLightSpec(u_specDir[i].xyz, u_specColor[i].rgb, Normal, viewVec, u_specDir[i].w)*specularity*lightStrength;