Scott Mansell
1b771deb56
Move worldpos into it's own varying.
...
Previously it was packed into spare slots in clippos.xy and normal.w,
but it's ugly and more importantly it's causing bugs.
This was discovered during the debugging of a zfreeze branch, which
expected clippos.xy to be xy position coordinates in clipspace (as
the name suggested).
Turns out the stereoscopy shader had also run into this trap, modifying
clippos.x (introducing errors with per-pixel lighting).
This commit has been moved outside of the zfreeze PR for fast merging.
2015-01-03 09:23:09 +13:00
..
2014-11-18 16:51:21 -05:00
2014-10-09 00:06:04 -04:00
2014-12-21 14:13:04 +01:00
2014-12-21 14:13:04 +01:00
2014-12-15 22:47:42 +01:00
2014-12-15 22:47:42 +01:00
2014-09-08 15:39:58 -04:00
2014-12-11 22:23:05 -06:00
2014-12-21 14:12:43 +01:00
2014-09-28 21:34:29 -04:00
2014-12-21 14:12:43 +01:00
2014-12-27 19:16:50 -05:00
2014-09-28 21:34:29 -04:00
2014-12-18 00:36:40 +01:00
2014-09-28 21:25:06 -04:00
2014-12-21 14:12:43 +01:00
2014-12-09 18:56:27 +01:00
2014-08-19 10:05:58 -04:00
2014-09-11 13:05:31 -04:00
2014-12-28 23:28:00 +01:00
2014-12-28 23:28:00 +01:00
2014-12-10 05:52:55 -08:00
2014-12-09 18:56:27 +01:00
2014-07-26 14:37:18 +02:00
2014-07-18 12:49:40 +02:00
2014-12-25 00:58:16 +01:00
2014-12-25 02:37:22 +01:00
2015-01-03 09:23:09 +13:00
2014-12-19 14:10:53 +01:00
2014-12-29 12:03:59 +01:00
2014-12-20 13:16:26 +01:00
2014-09-22 12:51:30 -04:00
2014-09-11 13:05:31 -04:00
2014-11-13 22:42:18 -05:00
2014-09-08 15:39:58 -04:00
2014-09-08 15:39:58 -04:00
2014-05-17 11:55:32 -07:00
2014-12-28 23:37:05 +01:00
2014-09-08 15:39:58 -04:00
2014-11-17 21:20:32 +01:00
2014-08-26 12:43:39 -04:00
2014-12-21 14:12:43 +01:00
2014-12-20 13:31:41 +01:00
2014-10-21 21:22:16 -04:00
2014-12-09 18:56:27 +01:00
2014-12-09 18:56:27 +01:00
2014-03-09 21:14:26 +01:00
2014-02-18 02:19:10 -05:00
2014-11-17 21:20:32 +01:00
2014-10-10 12:27:06 +01:00
2015-01-03 09:23:09 +13:00
2014-11-23 14:27:38 +01:00
2014-09-21 10:38:22 +02:00
2014-09-21 10:38:22 +02:00
2014-08-25 14:33:41 +02:00
2014-11-23 14:23:41 +01:00
2014-12-28 18:35:23 +01:00
2014-12-28 18:35:23 +01:00
2014-09-04 18:36:53 -07:00
2015-01-03 09:23:09 +13:00
2014-06-27 09:36:50 +02:00
2014-06-27 09:35:26 +02:00
2014-12-24 23:30:40 +01:00
2014-12-24 23:30:40 +01:00
2014-12-05 20:55:29 -05:00
2014-09-08 15:39:58 -04:00
2014-12-11 22:23:05 -06:00
2014-09-19 18:17:51 -04:00
2014-11-06 18:38:24 -08:00
2014-10-21 21:22:16 -04:00
2014-12-21 14:13:04 +01:00
2014-12-21 14:13:04 +01:00
2014-12-21 14:13:04 +01:00
2014-10-21 21:22:16 -04:00
2014-12-21 14:29:44 +01:00
2014-10-21 21:22:16 -04:00
2014-12-21 14:13:04 +01:00
2014-09-01 11:18:02 +02:00
2014-12-21 14:29:44 +01:00
2014-12-21 14:29:44 +01:00
2014-12-21 14:13:04 +01:00
2014-12-21 14:12:43 +01:00
2014-12-21 14:12:43 +01:00
2014-12-09 18:56:27 +01:00
2014-12-13 10:29:08 +01:00
2014-12-20 13:16:26 +01:00
2014-12-09 18:56:27 +01:00
2015-01-03 09:23:09 +13:00
2014-12-15 22:47:41 +01:00
2014-12-29 17:05:39 +01:00
2014-02-18 02:19:10 -05:00
2014-10-05 20:47:37 -04:00
2014-11-17 21:20:32 +01:00
2014-12-09 18:56:27 +01:00
2014-12-21 14:12:43 +01:00
2014-12-21 14:12:43 +01:00
2014-12-29 19:15:31 +01:00
2014-12-29 12:03:59 +01:00
2014-12-14 21:23:13 +01:00
2014-07-29 20:55:07 -04:00
2014-05-16 18:58:07 -07:00
2014-12-09 18:56:27 +01:00
2014-12-14 21:23:13 +01:00
2014-02-18 02:19:10 -05:00