balancing, visuals, clicking,s tuff
This commit is contained in:
parent
cf63368549
commit
25ebe3deb3
3 changed files with 15 additions and 21 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue