protot/data/shaders/fs_simpletexture.glsl

12 lines
158 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
2018-04-05 12:39:30 +02:00
in vec2 ioFragTexCoords;
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-04-05 12:39:30 +02:00
outColor = texture(uTexture, ioFragTexCoords);
2018-02-13 14:27:16 +01:00
}