2020-02-22 17:39:03 -05:00
|
|
|
#version {{version}}
|
|
|
|
// Automatically generated from files in pathfinder/shaders/. Do not edit!
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
precision highp float;
|
2020-05-08 19:59:01 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2020-02-22 17:39:03 -05:00
|
|
|
|
|
|
|
uniform mat4 uTransform;
|
|
|
|
uniform vec2 uTileSize;
|
|
|
|
|
|
|
|
in ivec2 aTilePosition;
|
|
|
|
|
|
|
|
void main(){
|
2020-02-28 15:49:21 -05:00
|
|
|
vec2 position = vec2(aTilePosition)* uTileSize;
|
2020-02-22 17:39:03 -05:00
|
|
|
gl_Position = uTransform * vec4(position, 0.0, 1.0);
|
|
|
|
}
|
|
|
|
|