Untitled
Loading...
Searching...
No Matches
fullscreen.frag
Go to the documentation of this file.
1
2#version 330 core
3
6
7uniform sampler2D scene;
8// uniform sampler2D bloom;
9// uniform sampler2D bloom2;
10
11void main()
12{
13
14 // vec3 color = texture(scene, uv).rgb;
15 // vec3 bcolor = texture(bloom, uv).rgb;
16 // vec3 b2color = texture(bloom2, uv).rgb;
17 // fragColor = texture(scene, uv) +texture(bloom, uv);
18 // fragColor = vec4(texture(scene, uv).rgb + texture(bloom, uv).rgb * 0.5 + texture(bloom2, uv).rgb * 0.8, 1.0) ;
19 // fragColor = vec4(b2color.rgb, 1.0);
20 fragColor = vec4(texture(scene, uv).rgb, 0.0);
21}
void main()
out vec4 fragColor
Definition bloom.frag:6
uniform sampler2D scene
in vec2 uv
Definition types.h:11
Definition types.h:13