program TileMap
variant (base)
  uniform mat4 uProjectionMatrix
  uniform mat4 uViewMatrix
  block InstanceBlock baseSize=112 instanceStride=0
    member mat4 modelMatrix offset=0
    member vec4 color offset=64
    member vec4 texRect offset=80
    member vec2 spriteSize offset=96
    member float palOffset offset=104
  texture uTexture unit=0
  texture uTexturePalette unit=1
  attribute vec2 aPosition location=-1
  attribute vec2 aTexCoords location=-1
  attribute vec4 aColor location=-1
