Improved Tiler drawstate interface.
Make it possible to bind attribute buffers when they are not in active use.
Merge branch 'core'
Added a mapview uniform to extract the ambient lightsource index.
Make mipmap algorithms modular.
Merge branch 'core'