program CanvasVertex
render_mode blend_add
variant (base)
  uniform mat4 uProjectionMatrix
  uniform mat4 uViewMatrix
  uniform float uAmplitude
  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
variant WAVE
  define WAVE
  uniform mat4 uProjectionMatrix
  uniform mat4 uViewMatrix
  uniform float uAmplitude
  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
