Jacob Støren
0eace5579a
#168 Fixed shader based light in parallel projection
...
Added the light position as a uniform in the standard light model shader snippet in the effect generator.
Set the uniform default value on the shader program where ever it is used.
Added an override global uniform set on the viewer to control the light position, and to set it far behind camera when in parallel projection.
2016-08-16 10:58:07 +02:00
..
2016-08-15 08:57:20 +02:00
2015-11-24 14:14:39 +01:00
2016-08-16 10:58:07 +02:00
2015-10-23 15:46:25 +02:00
2016-08-05 17:19:49 +02:00
2016-08-01 17:16:55 +02:00
2015-09-14 09:53:28 +02:00
2014-09-24 07:14:52 +02:00
2014-09-24 07:14:52 +02:00
2015-12-03 12:54:13 +01:00
2015-12-03 12:54:13 +01:00
2016-08-05 17:19:49 +02:00
2015-12-01 12:34:30 +01:00
2015-11-26 16:01:23 +01:00
2015-11-26 16:01:23 +01:00
2014-09-24 07:14:52 +02:00
2015-10-23 15:46:25 +02:00
2016-08-05 17:19:49 +02:00
2015-12-07 12:53:36 +01:00
2016-08-05 17:19:49 +02:00
2015-06-26 10:00:46 +02:00
2015-11-24 14:21:02 +01:00
2014-09-24 07:14:52 +02:00
2015-12-04 15:15:53 +01:00
2015-12-04 15:15:53 +01:00
2015-09-10 14:03:59 +02:00
2015-09-14 13:14:37 +02:00
2016-07-16 16:31:55 +02:00
2016-07-16 18:35:15 +02:00
2016-07-16 16:31:55 +02:00
2016-07-16 16:31:55 +02:00
2015-11-18 06:50:15 -08:00
2015-11-18 11:52:23 +01:00
2016-08-05 10:27:19 +02:00
2016-07-16 16:31:55 +02:00
2014-09-24 07:14:52 +02:00
2016-08-05 17:19:49 +02:00
2015-10-23 15:46:25 +02:00
2015-12-09 02:20:33 -08:00
2015-11-11 13:38:54 +01:00
2014-09-24 07:14:52 +02:00
2015-06-11 11:38:51 +02:00
2015-11-24 09:59:25 +01:00
2014-09-24 07:14:52 +02:00
2014-09-24 07:14:52 +02:00
2015-11-24 09:59:25 +01:00
2015-10-23 15:46:25 +02:00
2016-08-16 10:58:07 +02:00
2015-10-23 15:46:25 +02:00
2015-12-11 17:45:09 +01:00
2015-11-24 09:59:25 +01:00
2016-08-05 17:19:49 +02:00
2015-10-23 15:46:25 +02:00
2016-08-05 17:19:49 +02:00
2015-06-26 10:00:39 +02:00
2015-09-07 16:17:40 +02:00
2015-06-12 09:25:09 +02:00
2015-12-04 15:15:53 +01:00
2015-12-04 15:15:53 +01:00
2015-12-09 12:26:32 +01:00
2015-12-04 15:15:54 +01:00
2015-11-18 18:21:22 +01:00
2015-11-18 18:21:22 +01:00
2015-11-27 16:37:26 +01:00
2015-11-26 11:09:08 +01:00