0.8.22:Shader Update

This commit is contained in:
MrZ_26
2020-05-28 15:16:38 +08:00
parent 76fab86692
commit 08883b952f
107 changed files with 1220 additions and 1009 deletions

4
shader/alpha.glsl Normal file
View File

@@ -0,0 +1,4 @@
extern float a;
vec4 effect(vec4 color,Image text,vec2 pos,vec2 scr_pos){
return vec4(1.,1.,1.,sign(Texel(text,pos).a)*a);
}