Untitled
Toggle main menu visibility
Loading...
Searching...
No Matches
fullscreen.frag
Go to the documentation of this file.
1
2
#version 330 core
3
4
in
vec2
uv
;
5
out
vec4
fragColor
;
6
7
uniform sampler2D
scene
;
8
// uniform sampler2D bloom;
9
// uniform sampler2D bloom2;
10
11
void
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
}
main
void main()
Definition
audio_probe_bake.comp:465
fragColor
out vec4 fragColor
Definition
bloom.frag:6
scene
uniform sampler2D scene
Definition
fullscreen.frag:7
uv
in vec2 uv
Definition
fullscreen.frag:4
vec2
Definition
types.h:11
vec4
Definition
types.h:13
src
render
fullscreen.frag
Generated by
1.18.0