summaryrefslogtreecommitdiffstats
path: root/src/extras/shaders/neoVehicle_VS.hlsl
diff options
context:
space:
mode:
authoraap <aap@papnet.eu>2021-02-15 14:55:31 +0100
committeraap <aap@papnet.eu>2021-02-15 15:06:45 +0100
commitedc77d7f00f021e78b041cbd7c4ca3a8827e1ab4 (patch)
treed30023d4cce3c27d79b22d463f1f9defc28319cd /src/extras/shaders/neoVehicle_VS.hlsl
parentRevert "always console for windows Debug builds" (diff)
downloadre3-edc77d7f00f021e78b041cbd7c4ca3a8827e1ab4.tar
re3-edc77d7f00f021e78b041cbd7c4ca3a8827e1ab4.tar.gz
re3-edc77d7f00f021e78b041cbd7c4ca3a8827e1ab4.tar.bz2
re3-edc77d7f00f021e78b041cbd7c4ca3a8827e1ab4.tar.lz
re3-edc77d7f00f021e78b041cbd7c4ca3a8827e1ab4.tar.xz
re3-edc77d7f00f021e78b041cbd7c4ca3a8827e1ab4.tar.zst
re3-edc77d7f00f021e78b041cbd7c4ca3a8827e1ab4.zip
Diffstat (limited to '')
-rw-r--r--src/extras/shaders/neoVehicle_VS.hlsl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/extras/shaders/neoVehicle_VS.hlsl b/src/extras/shaders/neoVehicle_VS.hlsl
index de75e745..fb730092 100644
--- a/src/extras/shaders/neoVehicle_VS.hlsl
+++ b/src/extras/shaders/neoVehicle_VS.hlsl
@@ -52,7 +52,7 @@ VS_out main(in VS_in input)
output.TexCoord1 = uv2.xy*0.5 + 0.5;
float b = 1.0 - saturate(dot(viewVec, Normal));
output.ReflColor = float4(0.0, 0.0, 0.0, 1.0);
- output.ReflColor.a = lerp(b*b*b*b*b, 1.0f, fresnel)*shininess;
+ output.ReflColor.a = lerp(b*b*b*b*b, 1.0, fresnel)*shininess;
//Light mainLight = lights[0];
for(i = 0; i < 5; i++)