summary refs log tree commit diff stats
path: root/shaders/blit.fragment
blob: 2d412c05c0122a19165a444b4935e4c829c667a6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
#version 330 core

in vec2 UV;

out vec4 color;

uniform sampler2D srctex;
uniform float alpha;

void main()
{
  color = vec4(texture(srctex, UV).rgb, alpha);
}