allow armature fixups on model load
[carveJwlIkooP6JGAAIwe30JlM.git] / shaders / model_board_view.h
index 1251f0b0d68f98e7f5ef3eb0ff901debc39f9ecd..a131124b6c08bb9d5184319a9c4687053aa54654 100644 (file)
@@ -462,7 +462,7 @@ static struct vg_shader _shader_model_board_view = {
 "\n"
 "vec3 character_clearskies_lighting( vec3 normal, float shadow, vec3 halfview )\n"
 "{\n"
-"   float fresnel = 0.0*step(0.5,1.0 - abs(dot(normal,halfview)));\n"
+"   float fresnel = 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"