Deve b0251cf0b1 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-11 09:55:13 +02:00
..
2015-10-14 02:34:23 +02:00
2016-04-22 20:44:35 -04:00
2016-04-23 09:00:40 -04:00
2016-05-11 09:55:13 +02:00
2015-10-19 21:02:25 -04:00
2015-06-02 14:50:32 +10:00
2016-03-14 00:43:00 +08:00
2016-04-27 17:58:28 +10:00
2013-08-30 18:46:11 +00:00
2013-08-30 18:46:11 +00:00