17 lines
279 B
GLSL
17 lines
279 B
GLSL
#version 430 core
|
|
in vec2 vTexPos;
|
|
out vec4 fColor;
|
|
|
|
uniform sampler2D screenTexture;
|
|
|
|
void main()
|
|
{
|
|
// vec4 col = vec4(0,0,0,0);
|
|
// for (int i = 0; i < 9; i++)
|
|
// {
|
|
// col +=
|
|
// }
|
|
fColor = texture(screenTexture, vTexPos);
|
|
// fColor = vec4(1,1,1,0);
|
|
}
|