From 80f652762a3758ef1ac6a4417835323f9d126d49 Mon Sep 17 00:00:00 2001 From: aap Date: Fri, 28 Nov 2014 14:42:31 +0000 Subject: [PATCH] Fixed typo. --- SilentPatch/nvc.fx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SilentPatch/nvc.fx b/SilentPatch/nvc.fx index 07ec71c..d77b2f8 100644 --- a/SilentPatch/nvc.fx +++ b/SilentPatch/nvc.fx @@ -29,7 +29,7 @@ VS_OUTPUT NVC_vertex_shader( in VS_INPUT In ) Out.Texture = In.Texture; Out.Color.rgb = (In.DayColor.rgb * (1.0-fEnvVars[0]) + In.NightColor.rgb * fEnvVars[0]) + AmbientLight.rgb; - Out.Color.a = In.DayColor.a * (256.0/128.0) * fEnvVars[1]; + Out.Color.a = In.DayColor.a * (255.0/128.0) * fEnvVars[1]; //Out.Color.rgb = In.DayColor.rgb + AmbientLight.rgb; Out.Color = saturate(Out.Color);