7 Commits

Author SHA1 Message Date
Hannes Janetzek
bb22ecd7e3 extract Layer drawing utilities from RenderOverlay into BasicOverlay 2013-10-09 01:55:50 +02:00
Hannes Janetzek
be748138ac - use Stencil instead of Depth for clipping test
to avoid drawing everything with polygonOffset
- add GLState.useProgram
2013-10-09 01:55:50 +02:00
Hannes Janetzek
a03f81d306 only modify DEPTH_TEST through GLState 2013-10-09 01:55:47 +02:00
Hannes Janetzek
7cc32f1572 use GLState for depth and stencil test 2013-10-09 01:52:20 +02:00
Hannes Janetzek
e50ea0c2ba refactor: move rendering of base layers to separate class
- keep track of GL state in GLState
2013-10-09 01:52:20 +02:00
Hannes Janetzek
eb278585fa more work on building layer 2013-10-09 01:52:19 +02:00
Hannes Janetzek
ac63a4cae1 add beginnings of BuildingOverlay 2013-10-09 01:47:43 +02:00