diff options
author | aap <aap@papnet.eu> | 2021-02-15 15:08:11 +0100 |
---|---|---|
committer | aap <aap@papnet.eu> | 2021-02-15 15:08:19 +0100 |
commit | 08f0f275afe9e575a3a7f953c3df66da396b9b4d (patch) | |
tree | d6d9766e68337d7a3eabbb49ebef98c1c4efb356 /src/extras/shaders/obj/neoVehicle_vert.inc | |
parent | update invite link (diff) | |
download | re3-08f0f275afe9e575a3a7f953c3df66da396b9b4d.tar re3-08f0f275afe9e575a3a7f953c3df66da396b9b4d.tar.gz re3-08f0f275afe9e575a3a7f953c3df66da396b9b4d.tar.bz2 re3-08f0f275afe9e575a3a7f953c3df66da396b9b4d.tar.lz re3-08f0f275afe9e575a3a7f953c3df66da396b9b4d.tar.xz re3-08f0f275afe9e575a3a7f953c3df66da396b9b4d.tar.zst re3-08f0f275afe9e575a3a7f953c3df66da396b9b4d.zip |
Diffstat (limited to 'src/extras/shaders/obj/neoVehicle_vert.inc')
-rw-r--r-- | src/extras/shaders/obj/neoVehicle_vert.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/extras/shaders/obj/neoVehicle_vert.inc b/src/extras/shaders/obj/neoVehicle_vert.inc index b7b42622..ebd0ea12 100644 --- a/src/extras/shaders/obj/neoVehicle_vert.inc +++ b/src/extras/shaders/obj/neoVehicle_vert.inc @@ -43,7 +43,7 @@ const char *neoVehicle_vert_src = " v_tex1 = uv2.xy*0.5 + 0.5;\n" " float b = 1.0 - clamp(dot(viewVec, Normal), 0.0, 1.0);\n" " v_reflcolor = vec4(0.0, 0.0, 0.0, 1.0);\n" -" v_reflcolor.a = mix(b*b*b*b*b, 1.0f, fresnel)*shininess;\n" +" v_reflcolor.a = mix(b*b*b*b*b, 1.0, fresnel)*shininess;\n" " for(int i = 0; i < 5; i++)\n" " v_reflcolor.rgb += DoDirLightSpec(u_specDir[i].xyz, u_specColor[i].rgb, Normal, viewVec, u_specDir[i].w)*specularity*lightStrength;\n" |