0.9.2:调试界面,新背景,布局微调
This commit is contained in:
10
Zframework/shader/grad1.glsl
Normal file
10
Zframework/shader/grad1.glsl
Normal file
@@ -0,0 +1,10 @@
|
||||
extern float t,w;
|
||||
vec4 effect(vec4 color,Image text,vec2 pos,vec2 scr_pos){
|
||||
float x=scr_pos.x/w;
|
||||
return vec4(
|
||||
.8-x*.6,
|
||||
.3+.2*sin(t),
|
||||
.15+x*.7,
|
||||
1
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user