Initial Android commit

This commit is contained in:
OleSTEEP 2024-11-10 03:34:28 +03:00
commit 1e2b80c13d
8521 changed files with 231475 additions and 0 deletions

17
darkening_shader.tres Normal file
View file

@ -0,0 +1,17 @@
[gd_resource type="Shader" format=2]
[resource]
code = "shader_type canvas_item;
uniform float alphaChannel=1;
void fragment() {
vec4 pixelColor = texture(TEXTURE, UV);
COLOR = texture(TEXTURE, UV);
float newAlpha=(alphaChannel);
vec2 fromCenterVec=UV.xy-vec2(0.5,0.5);
if (newAlpha>=0.0f){
COLOR.a=30.64*newAlpha*length(fromCenterVec);
} else COLOR.a=0.0f;
COLOR.a=alphaChannel;
}"