mirror of
https://github.com/a-b-street/abstreet.git
synced 2024-12-18 20:02:18 +03:00
001aa836d2
data/ directory, because they're statically bundled; they're not actually read from the filesystem. #253 Two SVGs get duplicated between widgetry and abst assets -- dont_walk and arrow_drop_down.
18 lines
328 B
GLSL
18 lines
328 B
GLSL
#version 410
|
|
|
|
// (x offset, y offset, zoom)
|
|
uniform vec3 transform;
|
|
// (window width, window height, z value)
|
|
uniform vec3 window;
|
|
// textures grid
|
|
uniform sampler2DArray textures;
|
|
|
|
in vec4 fs_color;
|
|
in vec3 fs_texture_coord;
|
|
|
|
out vec4 out_color;
|
|
|
|
void main() {
|
|
out_color = fs_color * texture(textures, fs_texture_coord);
|
|
}
|