balancing, visuals, clicking,s tuff

This commit is contained in:
biglyderv 2025-03-06 21:31:44 -05:00
parent cf63368549
commit 25ebe3deb3
Signed by: biglyderv
GPG key ID: 0E2EB0B4CD7397B5
3 changed files with 15 additions and 21 deletions

View file

@ -36,7 +36,7 @@
// gl_FragColor is a special variable a fragment shader
// is responsible for setting
if (is_fg) {
gl_FragColor = vec4(b_position.xyz*0.1,1) * 0.2 + vec4(0.3,0.3,0.3,1) * 0.8;
gl_FragColor = vec4(b_position.xyz,1) * 0.2 + vec4(0.3,0.3,0.3,1) * 0.8;
return;
}
float dist = (log(distance(b_position.xy,vec2(0.0))) - size_thing) / log(2.0) * 0.1;