降低所有背景的亮度,优化部分背景性能

This commit is contained in:
MrZ626
2021-05-26 22:14:57 +08:00
parent 34886ca643
commit b07f97097f
33 changed files with 123 additions and 123 deletions

View File

@@ -38,5 +38,5 @@ vec4 effect(vec4 color,Image tex,vec2 tex_coords,vec2 scr_coords){
V.gb+=vec2(smoothstep(0.626,0.,dx));
dx=1.626*max(max(V.r,V.g),V.b);
return vec4(V/dx,1.);
return vec4(V/dx,0.4);
}

View File

@@ -5,6 +5,6 @@ vec4 effect(vec4 color,Image tex,vec2 tex_coords,vec2 scr_coords){
.8-x*.6,
.3+.2*sin(t),
.15+x*.7,
1.
.4
);
}

View File

@@ -5,6 +5,6 @@ vec4 effect(vec4 color,Image tex,vec2 tex_coords,vec2 scr_coords){
.8-y*.6,
.2+y*.4,
.3+.1*sin(t),
1.
.4
);
}

View File

@@ -6,6 +6,6 @@ vec4 effect(vec4 color,Image tex,vec2 tex_coords,vec2 scr_coords){
.8-y*.7+.2*sin(t/6.26),
.2+y*.5+.15*sin(t/4.),
.2+x*.6-.1*sin(t/2.83),
1.
.4
);
}

View File

@@ -6,6 +6,6 @@ vec4 effect(vec4 color,Image tex,vec2 tex_coords,vec2 scr_coords){
.8-y*.8-.1*sin(t/6.26),
.4+.1*sin(t/4.)*(y+2.)/(y+5.),
abs(.7-x*1.4+y*.5*sin(t/16.)),
1.
.4
);
}