mirror of
https://github.com/italicsjenga/slang-shaders.git
synced 2024-11-22 15:51:30 +11:00
(crtglow) All presets now correctly alias gaus_vert.slang as
'CRTPass'
This commit is contained in:
parent
a7f96ace8e
commit
08d25f1dd1
|
@ -17,6 +17,7 @@ filter_linear2 = false
|
|||
scale_type2 = viewport
|
||||
scale2 = 1.0
|
||||
srgb_framebuffer2 = true
|
||||
alias2 = "CRTPass"
|
||||
|
||||
shader3 = shaders/glow/threshold.slang
|
||||
filter_linear3 = false
|
||||
|
|
|
@ -17,6 +17,7 @@ filter_linear2 = false
|
|||
scale_type2 = viewport
|
||||
scale2 = 1.0
|
||||
srgb_framebuffer2 = true
|
||||
alias2 = "CRTPass"
|
||||
|
||||
shader3 = shaders/glow/threshold.slang
|
||||
filter_linear3 = false
|
||||
|
|
|
@ -40,7 +40,6 @@ void main()
|
|||
vec3 source = BLOOM_STRENGTH * texture(Source, vTexCoord).rgb;
|
||||
#else
|
||||
|
||||
/* TODO/FIXME - In slang, how do I get the equivalent of PASSPREV4.tex_coord? */
|
||||
vec3 source = 1.15 * texture(CRT_PASS, vTexCoord).rgb;
|
||||
vec3 bloom = texture(Source, vTexCoord).rgb;
|
||||
source += BLOOM_STRENGTH * bloom;
|
||||
|
|
Loading…
Reference in a new issue