Import current DEMON v0.19 source, assets and development handoff
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
shader_type spatial;
|
||||
render_mode unshaded, cull_disabled, depth_draw_never;
|
||||
void fragment(){
|
||||
vec2 p=UV;
|
||||
float t=TIME*3.0;
|
||||
float wiggle=sin(p.y*10.0-t)*0.075*p.y+sin(p.y*19.0+t*1.3)*0.025;
|
||||
float width=0.32*pow(p.y,0.65)+0.02;
|
||||
float edge=abs(p.x-0.5+wiggle);
|
||||
float body=1.0-smoothstep(width*0.65,width,edge);
|
||||
body*=smoothstep(0.02,0.18,p.y)*(1.0-smoothstep(0.85,1.0,p.y));
|
||||
vec3 color=mix(vec3(1.0,0.045,0.004),vec3(1.0,0.55,0.045),pow(p.y,0.4));
|
||||
color=mix(color,vec3(1.0,0.9,0.40),smoothstep(0.5,0.9,p.y)*(1.0-smoothstep(0.02,0.16,edge)));
|
||||
ALBEDO=color; EMISSION=color*2.5; ALPHA=body*0.94;
|
||||
}
|
||||
Reference in New Issue
Block a user