X-Git-Url: https://harrygodden.com/git/?a=blobdiff_plain;f=shaders%2Fmodel_board_view.h;h=a131124b6c08bb9d5184319a9c4687053aa54654;hb=fbc68c65e01838feb77f47b30994b45fcc39ebaf;hp=e976fe2f70c102fb0c877640ce7e642b7c3a6fcd;hpb=f7c3600e850cc57df80d70c1862cf554c0cf4502;p=carveJwlIkooP6JGAAIwe30JlM.git diff --git a/shaders/model_board_view.h b/shaders/model_board_view.h index e976fe2..a131124 100644 --- a/shaders/model_board_view.h +++ b/shaders/model_board_view.h @@ -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 = 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"