2019-06-05 20:20:12 -04:00
|
|
|
#version 330
|
2019-01-14 22:32:53 -05:00
|
|
|
|
2019-06-05 20:20:12 -04:00
|
|
|
// pathfinder/shaders/tile_solid.fs.glsl
|
2019-01-14 22:32:53 -05:00
|
|
|
//
|
2019-06-05 20:20:12 -04:00
|
|
|
// Copyright © 2019 The Pathfinder Project Developers.
|
2019-01-14 22:32:53 -05:00
|
|
|
//
|
|
|
|
// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
|
|
|
|
// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
|
|
|
|
// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
|
|
|
|
// option. This file may not be copied, modified, or distributed
|
|
|
|
// except according to those terms.
|
|
|
|
|
|
|
|
precision highp float;
|
|
|
|
|
2020-02-05 00:50:13 -05:00
|
|
|
uniform sampler2D uPaintTexture;
|
|
|
|
|
|
|
|
in vec2 vColorTexCoord;
|
2019-01-14 22:32:53 -05:00
|
|
|
|
|
|
|
out vec4 oFragColor;
|
|
|
|
|
|
|
|
void main() {
|
2020-02-05 00:50:13 -05:00
|
|
|
oFragColor = texture(uPaintTexture, vColorTexCoord);
|
2019-01-14 22:32:53 -05:00
|
|
|
}
|