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
..
2016-05-03 21:48:21 +02:00
2016-05-03 21:48:21 +02:00
2015-02-19 00:44:21 +01:00
2014-08-13 20:25:56 +02: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
2016-05-03 21:48:21 +02:00
2016-05-03 21:48:21 +02:00
2014-09-05 22:17:57 +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-27 03:21:55 +01:00
2014-12-08 19:36:23 +01:00
2015-02-24 22:08:49 +01:00
2015-02-24 22:08:49 +01:00
2015-02-24 22:08:49 +01:00
2014-12-18 22:09:14 +01:00
2014-09-10 01:42:51 +02:00
2015-02-23 22:02:32 +01: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
2014-08-08 01:07:55 +02:00
2014-08-08 01:07:55 +02:00
2014-11-18 03:44:45 +01:00
2014-12-18 22:09:14 +01:00
2016-05-08 21:39:50 +02:00
2015-01-15 20:50:19 +01:00
2014-12-27 03:22:06 +01:00
2015-01-01 20:06:34 +01:00
2014-08-13 20:25:56 +02:00
2014-12-07 21:27:26 +01:00
2015-01-01 03:18:13 +01:00