X-Git-Url: https://harrygodden.com/git/?a=blobdiff_plain;f=shaders%2Fmodel_board_view.h;h=1251f0b0d68f98e7f5ef3eb0ff901debc39f9ecd;hb=23733c7ba8fac9eb4ac1f4839c400f0248abee6e;hp=e976fe2f70c102fb0c877640ce7e642b7c3a6fcd;hpb=64b1b54781be4e02f3a36ab1c09ca5349cfbd431;p=carveJwlIkooP6JGAAIwe30JlM.git diff --git a/shaders/model_board_view.h b/shaders/model_board_view.h index e976fe2..1251f0b 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 = 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"