projects
/
carveJwlIkooP6JGAAIwe30JlM.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
improved build
[carveJwlIkooP6JGAAIwe30JlM.git]
/
shaders
/
common_world.glsl
diff --git
a/shaders/common_world.glsl
b/shaders/common_world.glsl
index 4d9b0d3d6a7211f6cdb38499338264ab252ffc84..5e1a8919070e9f1865a1250c745f98f329222ed1 100644
(file)
--- a/
shaders/common_world.glsl
+++ b/
shaders/common_world.glsl
@@
-50,7
+50,7
@@
float world_depth_sample( vec3 pos )
float shadow_sample( vec3 vdir )
{
float shadow_sample( vec3 vdir )
{
- vec3 sample_pos = aCo + vdir;
+ vec3 sample_pos = a
World
Co + vdir;
float height_sample = world_depth_sample( sample_pos );
float fdelta = height_sample - sample_pos.y;
float height_sample = world_depth_sample( sample_pos );
float fdelta = height_sample - sample_pos.y;