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
..
2015-08-21 21:12:39 +12:00
2013-07-31 15:46:23 +02:00
2015-09-10 18:48:34 +12:00
2013-02-17 15:56:22 +01:00
2015-09-10 18:48:34 +12:00
2014-06-17 04:05:20 +02:00
2013-04-28 14:59:15 +02:00
2013-04-28 14:59:15 +02:00
2015-09-10 18:48:34 +12:00
2013-02-17 15:56:22 +01:00
2015-08-21 21:12:39 +12:00
2013-02-17 15:56:22 +01:00
2015-03-11 20:04:25 +01:00
2015-08-18 23:06:12 +02:00
2015-09-10 18:48:34 +12:00
2013-02-17 15:56:22 +01:00
2015-09-10 18:48:34 +12:00
2013-03-23 08:16:46 +01:00
2015-09-10 18:48:34 +12:00
2013-03-30 15:51:07 +01:00
2015-08-18 23:06:12 +02:00
2013-02-17 15:56:22 +01:00
2015-08-18 23:06:12 +02:00
2013-02-17 15:56:22 +01:00
2015-06-03 21:37:21 +02:00
2015-05-22 19:57:02 +02:00
2015-06-01 21:41:13 +02:00
2013-11-13 14:02:15 +01:00
2015-05-12 03:02:15 +02:00
2015-02-06 01:27:16 +01:00
2015-02-06 01:27:16 +01:00
2015-05-12 04:04:54 +02:00
2015-07-09 19:22:04 +02:00
2015-01-23 15:34:47 +01:00
2015-07-07 19:19:37 +02:00
2015-07-25 04:14:22 +02:00
2015-08-18 23:06:12 +02:00
2015-08-13 17:08:21 +02:00
2015-10-07 02:43:21 +02:00
2015-02-06 01:27:16 +01:00
2013-11-04 10:36:22 +01:00
2012-01-24 11:24:05 +01:00
2015-05-21 22:46:44 -05:00
2015-01-10 01:00:52 +01:00
2015-07-09 19:22:04 +02:00
2015-07-09 19:22:04 +02:00
2015-08-21 21:12:39 +12:00
2015-03-11 10:54:45 -04:00
2015-06-16 20:36:48 +02:00
2015-04-14 15:58:16 +02:00
2015-08-18 23:06:12 +02:00
2015-01-23 15:34:47 +01:00
2015-10-13 18:15:39 +02:00
2015-07-24 23:28:43 +02:00
2015-02-05 04:18:42 +01:00
2014-05-25 14:30:07 +02:00
2015-05-27 19:45:26 +02:00
2015-03-06 21:36:42 +13:00
2015-07-24 23:28:36 +02:00
2015-02-09 15:01:49 +01:00
2013-02-17 15:56:22 +01:00
2015-07-24 23:28:36 +02:00
2015-07-02 19:14:28 +02:00
2015-08-21 21:12:39 +12:00
2015-06-26 05:15:07 +02:00
2015-08-18 23:06:12 +02:00
2015-03-06 21:36:42 +13:00
2015-01-27 23:12:13 +01:00
2015-09-15 13:58:07 +02:00
2015-09-15 13:58:07 +02:00
2015-08-31 16:13:26 +02:00
2015-06-03 23:04:35 +02:00
2015-09-24 15:55:38 +02:00
2015-08-22 22:53:06 +02:00
2015-03-08 13:07:29 +13:00
2015-03-06 21:36:42 +13:00
2015-09-24 15:21:42 +02:00
2015-09-21 19:43:48 +02:00
2015-10-29 00:25:23 +01:00
2015-10-29 00:25:23 +01:00