protot/data/shaders/fs_simpletexture.glsl

12 lines
136 B
Plaintext
Raw Normal View History

2018-03-15 11:01:55 +01:00
#version 150 core
2018-02-13 14:27:16 +01:00
in vec2 ioUV;
2018-02-13 14:27:16 +01:00
2018-03-15 11:01:55 +01:00
out vec4 outColor;
2018-02-13 14:27:16 +01:00
uniform sampler2D uTexture;
2018-02-13 14:27:16 +01:00
void main() {
2018-03-15 11:01:55 +01:00
outColor = texture(uTexture, ioUV);
2018-02-13 14:27:16 +01:00
}