界面美化/死亡动画/自定义序列编辑器
This commit is contained in:
5
Zframework/shader/glow.glsl
Normal file
5
Zframework/shader/glow.glsl
Normal file
@@ -0,0 +1,5 @@
|
||||
extern float X,Y,W,H;
|
||||
vec4 effect(vec4 C,Image Tx,vec2 pos,vec2 scr_pos){
|
||||
C[3]=min((scr_pos.x-X)/W*0.3+(scr_pos.y-Y)/H*0.1,0.3)+0.5;
|
||||
return C;
|
||||
}
|
||||
Reference in New Issue
Block a user