Miloslav Číž
64793a55dc
get rid of buggy shader trick
2017-09-28 20:44:43 +02:00
Miloslav Číž
c9c6326d87
fix non-refraction water rain ripples
2017-09-28 19:23:37 +02:00
Miloslav Číž
8416feaf5b
link rain water ripple effect to actual rain
2017-09-28 19:04:31 +02:00
Miloslav Číž
4a332a1807
improve rain ripples
2017-09-27 21:25:14 +02:00
Miloslav Číž
5c50506c83
water shader refactor plus basic rain ripples
2017-09-27 17:13:21 +02:00
Miloslav Číž
cde2c13900
make water depth independent of view frustum
2017-09-26 14:14:28 +02:00
Miloslav Číž
9dececcbd2
rename a constant in water shader
2017-09-22 21:10:05 +02:00
Miloslav Číž
28f58d5a32
add deleted letter in macro
2017-09-22 21:06:03 +02:00
Miloslav Číž
f274bc84cc
fix depth computation in water shader
2017-09-22 21:03:09 +02:00
Miloslav Číž
8df79625e8
fix water shader
2017-09-22 10:53:02 +02:00
Miloslav Číž
658fa0fdae
fix typo
2017-09-21 22:33:57 +02:00
Miloslav Číž
c43baf6e94
remove commented code
2017-09-21 22:31:26 +02:00
Miloslav Číž
16d9773c6c
fix water shader artifacts at shores
2017-09-21 22:25:36 +02:00
scrawl
8433e0679f
Water: connect to settings window
2015-10-29 00:25:24 +01:00
scrawl
9f8d36b573
Water code cleanup
2015-10-29 00:25:24 +01:00
scrawl
09631385c3
Use boost ifstream for water resources
2015-10-29 00:25:24 +01:00
scrawl
51e40cf1b8
Water: minor shader cleanup
2015-10-29 00:25:24 +01:00
scrawl
d485dd0782
Water: fix world UV coords
2015-10-29 00:25:24 +01:00
scrawl
9f2f503d37
Water: pass the near and far planes
2015-10-29 00:25:24 +01:00
scrawl
37c9c12962
Water: clipping plane offset
2015-10-29 00:25:23 +01:00
scrawl
e13eb625d3
New water WIP
...
Changes compared to old (Ogre) water:
- Uses depth-texture readback to handle the underwater fog in the water shader, instead of handling it in the object shader
- Different clipping mechanism (glClipPlane instead of a skewed viewing frustum)
- Fixed bug where the reflection camera would look strange when the viewer was very close to the water surface
- Toned down light scattering, made the waterColor a bit darker at night
- Fixed flipped water normals and strange resulting logic in the shader
Still to do: see comments...
2015-10-29 00:25:23 +01:00