projects
/
carveJwlIkooP6JGAAIwe30JlM.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
update helpers/location to 'frosted' ui
[carveJwlIkooP6JGAAIwe30JlM.git]
/
shaders
/
scene_depth.fs
diff --git
a/shaders/scene_depth.fs
b/shaders/scene_depth.fs
index 8850503f78a5d6a8c4523bfe4ec633c38d6581ff..d805441c70a0a1fb0d0776d0376e4104048282ed 100644
(file)
--- a/
shaders/scene_depth.fs
+++ b/
shaders/scene_depth.fs
@@
-19,7
+19,7
@@
float water_depth( vec3 pos, vec3 halfview )
float t = dot((pnorm*pdist - pos), pnorm) / d;
// TODO: Make g_water_fog a material param
float t = dot((pnorm*pdist - pos), pnorm) / d;
// TODO: Make g_water_fog a material param
- return t *
0.3;//
g_water_fog;
+ return t * g_water_fog;
}
void main()
}
void main()