projects
/
carveJwlIkooP6JGAAIwe30JlM.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
grid based
[carveJwlIkooP6JGAAIwe30JlM.git]
/
shaders
/
model_character_view.fs
diff --git
a/shaders/model_character_view.fs
b/shaders/model_character_view.fs
index a85e124d8a862947ce3b26f2da13a7f2551459fc..7a3d63ec39651fb22b875ffdc78f2684f39706f7 100644
(file)
--- a/
shaders/model_character_view.fs
+++ b/
shaders/model_character_view.fs
@@
-27,7
+27,7
@@
void main()
vec3 total_light = newlight_compute_ambient();
vec3 world_light = newlight_compute_world_diffuse( qnorm );
vec3 total_light = newlight_compute_ambient();
vec3 world_light = newlight_compute_world_diffuse( qnorm );
- float world_shadow = newlight_compute_sun_shadow();
+ float world_shadow = newlight_compute_sun_shadow(
vec3(1.0)
);
total_light += world_light * world_shadow;
vfrag = apply_fog( vfrag * total_light, fdist );
total_light += world_light * world_shadow;
vfrag = apply_fog( vfrag * total_light, fdist );