* Fix this fug oksure Creates the initial species component, damage states, and threshold templates and hooks them into the damageable component * More rebase fixes * test * Pre future rebase * Please * Lol * Lol2 * SHADERS * Update Engine * yml file * Fix an initialization issue, injects dependencies * Fix error in loading shaders * Makes a master character ui controller component added upon client attachment to entity and remove upon client detachment from entity * Fixes just about everytrhing * Address PJB's comments * geeze * Make overlays work in worldspace instead of screen space and not cover user interfaces * update submodule
17 lines
393 B
Plaintext
17 lines
393 B
Plaintext
shader_type canvas_item;
|
|
|
|
float circle(in vec2 _st, in float _radius){
|
|
vec2 dist = _st-vec2(0.5);
|
|
return smoothstep(_radius-(_radius*0.01),
|
|
_radius+(_radius*0.01),
|
|
dot(dist,dist)*4.0);
|
|
}
|
|
|
|
void fragment(){
|
|
vec2 st = FRAGCOORD.xy*SCREEN_PIXEL_SIZE.xy;
|
|
|
|
COLOR = texture(TEXTURE, UV);
|
|
COLOR.rgb = vec3(0);
|
|
COLOR.a = circle(st,0.05);
|
|
}
|