projects
/
carveJwlIkooP6JGAAIwe30JlM.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
baby lock the door and turn the lights down low
[carveJwlIkooP6JGAAIwe30JlM.git]
/
shaders
/
scene_water.fs
diff --git
a/shaders/scene_water.fs
b/shaders/scene_water.fs
index 892f0db6132e6d6d53186fc4560ca2f602d7a7ef..c40e246f917819b0b871ecf669dffa72966cd106 100644
(file)
--- a/
shaders/scene_water.fs
+++ b/
shaders/scene_water.fs
@@
-72,4
+72,5
@@
void main()
vec4 vsurface = water_surf( halfview, surfnorm, depthvalue, beneath, above );
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 );
}