界面美化/死亡动画/自定义序列编辑器
This commit is contained in:
4
Zframework/shader/alpha.glsl
Normal file
4
Zframework/shader/alpha.glsl
Normal 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);
|
||||
}
|
||||
Reference in New Issue
Block a user