Deve
58f7424b4f
Add a workaround for skybox.
...
The problem was with shader-based pipeline with disabled "advanced effects" in options.
In this case we don't use RTTs and gl_FragCoord contains values in range of whole window. So fo 2 players we still get gl_FragCoord.y = 0..window_size instead of gl_FragCoord.y = 0..window_size/2.
The easiest way to solve it seems to be modulo it by current viewport size. It should be compatible with advanced pipeline as well as single-player games.
Atm. I'm not sure if this should be applied to 0.9.2 branch. It should work fine, but needs some testing.
2016-05-08 21:39:50 +02:00
..
2015-01-15 19:52:48 +01:00
2016-05-03 21:48:21 +02:00
2014-06-22 18:04:46 +02:00
2016-05-03 21:48:21 +02:00
2014-06-22 18:04:46 +02:00
2015-02-19 00:44:21 +01:00
2014-08-07 00:52:44 +02:00
2015-03-16 08:37:59 +11:00
2015-07-27 02:00:34 +02:00
2016-05-03 21:48:21 +02:00
2016-05-03 21:48:21 +02:00
2015-01-01 03:18:13 +01:00
2014-08-13 20:25:56 +02:00
2015-01-01 03:18:13 +01:00
2015-02-21 18:06:27 +01:00
2014-08-13 20:25:56 +02:00
2015-02-22 20:31:14 +01:00
2015-05-21 16:37:59 +10:00
2015-01-01 03:18:13 +01:00
2014-08-02 00:50:56 +02:00
2014-08-02 00:50:56 +02:00
2014-09-10 18:57:40 +02:00
2015-01-24 20:00:04 +01:00
2014-12-11 01:19:17 +01:00
2014-06-03 19:56:59 +02:00
2014-06-03 19:56:59 +02:00
2016-05-03 21:48:21 +02:00
2014-11-10 21:32:04 +01:00
2016-05-03 21:48:21 +02:00
2014-11-10 21:32:04 +01:00
2014-12-05 00:20:16 +01:00
2014-09-05 22:17:57 +02:00
2014-09-17 02:12:28 +02:00
2015-01-01 03:18:13 +01:00
2015-02-24 22:29:31 +01:00
2015-02-24 22:29:31 +01:00
2014-12-18 22:09:14 +01:00
2014-08-02 00:50:56 +02:00
2014-12-27 03:21:55 +01:00
2014-12-08 19:36:23 +01:00
2014-12-14 02:48:47 +01:00
2015-05-21 11:19:40 +10:00
2014-12-18 22:09:14 +01:00
2014-12-18 22:09:14 +01:00
2014-12-18 22:09:14 +01:00
2014-12-18 22:09:14 +01:00
2014-12-18 22:09:14 +01:00
2015-01-12 23:01:35 +01:00
2014-12-18 22:09:14 +01:00
2014-12-18 22:09:14 +01:00
2014-12-18 22:09:14 +01:00
2014-12-18 22:09:14 +01:00
2014-12-18 22:09:14 +01:00
2014-12-18 22:09:14 +01:00
2014-12-18 22:09:14 +01:00
2014-12-18 22:09:14 +01:00
2014-12-18 22:09:14 +01:00
2014-12-18 22:09:14 +01:00
2014-06-08 22:18:32 +02:00
2015-07-26 01:51:28 +02:00
2015-10-31 01:00:48 +01:00
2015-03-16 08:37:59 +11:00
2014-08-02 00:50:56 +02:00
2015-02-24 22:08:49 +01:00
2015-02-24 22:08:49 +01:00
2013-11-30 21:33:06 +00:00
2015-02-24 22:08:49 +01:00
2014-08-02 00:50:56 +02:00
2014-08-09 21:24:50 +02:00
2014-12-18 22:09:14 +01:00
2015-01-01 03:18:13 +01:00
2014-12-21 09:58:06 +01:00
2015-01-12 23:01:35 +01:00
2014-12-18 22:09:14 +01:00
2015-01-01 03:18:13 +01:00
2015-01-01 03:18:13 +01:00
2015-09-29 20:08:56 +02:00
2014-08-13 21:04:03 +02:00
2014-09-10 01:42:51 +02:00
2014-09-10 01:42:51 +02:00
2014-03-22 18:36:20 +01:00
2014-03-22 18:36:20 +01:00
2015-02-23 22:02:32 +01:00
2015-08-13 18:15:34 +02:00
2014-12-14 21:39:18 +01:00
2014-08-02 00:50:56 +02:00
2014-11-20 21:23:33 +01:00
2014-10-17 18:51:41 +02:00
2014-10-06 22:51:41 +02:00
2014-08-07 22:32:42 +02:00
2014-08-07 22:32:42 +02:00
2015-10-05 21:22:22 +02:00
2014-08-08 01:07:55 +02:00
2014-08-08 01:07:55 +02:00
2014-08-13 02:01:29 +02:00
2014-08-26 21:56:16 +02:00
2014-11-18 03:44:45 +01:00
2014-05-08 01:16:02 +02:00
2014-08-26 21:56:16 +02:00
2015-02-23 22:35:53 +01:00
2014-12-18 22:09:14 +01:00
2014-02-12 22:16:10 +01:00
2016-05-08 21:39:50 +02:00
2015-01-15 20:50:19 +01:00
2014-08-14 21:26:16 +02:00
2014-08-14 21:26:16 +02:00
2014-08-08 01:07:55 +02:00
2015-01-01 03:18:13 +01:00
2015-01-12 22:47:53 +01:00
2014-12-27 03:22:06 +01:00
2015-01-11 00:45:38 +01:00
2015-01-01 20:06:34 +01:00
2015-01-01 03:18:13 +01:00
2014-08-13 20:25:56 +02:00
2014-12-07 21:27:26 +01:00
2014-12-18 22:09:14 +01:00
2014-12-18 22:09:14 +01:00
2015-01-01 03:18:13 +01:00
2015-01-01 03:18:13 +01:00
2014-12-18 22:09:14 +01:00
2015-01-01 03:18:13 +01:00