24 lines
738 B
GLSL
24 lines
738 B
GLSL
#version 300 es
|
|
|
|
/* +------------------------------------------------------+
|
|
____/ \____ /| - Open source game framework licensed to freely use, |
|
|
\ / / | copy, modify and sell without restriction |
|
|
+--\ ^__^ /--+ | |
|
|
| ~/ \~ | | - created for <https://foam.shampoo.ooo> |
|
|
| ~~~~~~~~~~~~ | +------------------------------------------------------+
|
|
| SPACE ~~~~~ | /
|
|
| ~~~~~~~ BOX |/
|
|
+-------------*/
|
|
|
|
/* The precision declaration is required by OpenGL ES */
|
|
precision mediump float;
|
|
|
|
in vec2 uv;
|
|
uniform sampler2D base_texture;
|
|
out vec4 outputColor;
|
|
|
|
void main(void)
|
|
{
|
|
outputColor = texture(base_texture, uv);
|
|
}
|