projects
/
carveJwlIkooP6JGAAIwe30JlM.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
send player region
[carveJwlIkooP6JGAAIwe30JlM.git]
/
shaders
/
model_character_view.h
diff --git
a/shaders/model_character_view.h
b/shaders/model_character_view.h
index 7be4184a5bfce8d7d4d9db01ac9f25ecf667e6ca..c9feae4655028357ba922985302670b0d02abf02 100644
(file)
--- a/
shaders/model_character_view.h
+++ b/
shaders/model_character_view.h
@@
-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"
"\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"
"\n"
" vec3 reflect_colour = mix( g_daysky_colour.rgb, g_sunset_colour.rgb, \n"
" g_sunset_phase );\n"