projects
/
carveJwlIkooP6JGAAIwe30JlM.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
strange bug and playermodels
[carveJwlIkooP6JGAAIwe30JlM.git]
/
shaders
/
model_board_view.h
diff --git
a/shaders/model_board_view.h
b/shaders/model_board_view.h
index e976fe2f70c102fb0c877640ce7e642b7c3a6fcd..1251f0b0d68f98e7f5ef3eb0ff901debc39f9ecd 100644
(file)
--- 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"
"\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"
"\n"
" vec3 reflect_colour = mix( g_daysky_colour.rgb, g_sunset_colour.rgb, \n"
" g_sunset_phase );\n"