整理代码

This commit is contained in:
MrZ626
2021-07-08 01:53:59 +08:00
parent 57792bd230
commit f3994316e3
9 changed files with 17 additions and 18 deletions

View File

@@ -1,5 +1,4 @@
extern float w;
extern float level;
extern float w,level;
vec4 effect(vec4 color,Image tex,vec2 tex_coords,vec2 scr_coords){
float dx=abs(scr_coords.x/w-0.5);
float a=(dx*2.6-.626)*level;