Lanza · @Lanza
1 followers · 73 posts · Server mastodon.gamedev.place


ˋ’ N normalize
vec2 x=(FC.xy*2.-r)/r.x;vec3 u=vec3(0,1,.7),c=u.xyx*.3,p=u.xxy*PI,d=N(-p-x.x*u.yxx+x.y*u.xyx),g=p-=c;for(float i,l,q;i<29.;i++){g=p+d*q;l=length(g)-.85*(cos(g.y+1.36));q+=l;if(l<.001){c=dot(N(g),N(u.zxy))*u.yzz;}};o=vec4(c,1)*cos(length(x));

Live : twigl.app/?ol=true&ss=-NXGVY1j

#egg #œuf #tootglsl #define

Last updated 2 years ago