
*Very* incomplete. Right now, it can render textures and perform colour-fills to the screen.
8 lines
No EOL
172 B
GLSL
8 lines
No EOL
172 B
GLSL
#version 150 core
|
|
layout(location = 0) uniform sampler2D tex;
|
|
in vec2 texture_coordinates;
|
|
out vec4 fragment;
|
|
void main()
|
|
{
|
|
fragment = texture(tex, texture_coordinates);
|
|
} |