1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-03-30 07:21:12 +00:00
OpenMW/components
scrawl c00532d82d Add LightStateCache to avoid redundantly setting the same gl_Light
Normally, osg::State would do this for us (via lastAppliedAttribute), but since we're using a custom StateAttribute to apply all lights at once, we have to track ourselves.

Further reduction of GL calls in a typical scene by ~2%
2017-02-07 23:37:57 +01:00
..
2016-02-08 15:55:05 +01:00
2016-11-13 23:20:51 +09:00
2017-01-28 04:37:47 +09:00
2016-08-29 12:38:24 +02:00
2016-08-29 12:38:24 +02:00
2016-08-21 18:31:46 +09:00
2014-11-20 18:14:49 +01:00
2016-09-10 21:25:28 +03:00
2016-08-29 12:20:00 +02:00
2015-12-10 00:15:55 +01:00
2014-09-26 17:48:14 +02:00
2016-02-16 19:17:04 +01:00