strange bug and playermodels
[carveJwlIkooP6JGAAIwe30JlM.git] / shaders / model_character_view.h
index 7be4184a5bfce8d7d4d9db01ac9f25ecf667e6ca..c59737feb10f8feb55c5f46c20cab12416b5a08a 100644 (file)
@@ -470,7 +470,7 @@ static struct vg_shader _shader_model_character_view = {
 "\n"
 "vec3 character_clearskies_lighting( vec3 normal, float shadow, vec3 halfview )\n"
 "{\n"
-"   float fresnel = step(0.5,1.0 - abs(dot(normal,halfview)));\n"
+"   float fresnel = 0.0*step(0.5,1.0 - abs(dot(normal,halfview)));\n"
 "\n"
 "   vec3  reflect_colour = mix( g_daysky_colour.rgb, g_sunset_colour.rgb, \n"
 "                               g_sunset_phase );\n"