This commit is contained in:
MrZ_26
2020-02-04 19:41:15 +08:00
parent 0dbdc9fe42
commit c1b334963b
25 changed files with 238 additions and 214 deletions

5
shader/glow.cs Normal file
View File

@@ -0,0 +1,5 @@
extern float X;extern float Y;extern float W;extern float H;
vec4 effect(vec4 C,Image Tx,vec2 Tcd,vec2 Pcd){
C[3]=min((Pcd.x-X)/W*.3+(Pcd.y-Y)/H*.1,.3)+.5;
return C;
}