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_water_fast.fs
diff --git
a/shaders/scene_water_fast.fs
b/shaders/scene_water_fast.fs
index 77aa569dd3dd7121345bfa1fb6c5ac78eee58720..f89cee55ead0ab3e9da1b8305b43605261f6b854 100644
(file)
--- a/
shaders/scene_water_fast.fs
+++ b/
shaders/scene_water_fast.fs
@@
-55,4
+55,5
@@
void main()
vec4 vsurface = water_surf( halfview, surfnorm, depthvalue );
vsurface.a -= fdist;
oColour = mix( vsurface, vec4(1.0,1.0,1.0,0.5), fband );
+ oColour.rgb = scene_compute_lighting( oColour.rgb, aNorm.xyz, aWorldCo );
}