Автор - Pixezy ссылка - От автора: This is the SDF version of the cut, it is even simpler than the plane because the rotation matrix is not needed. However, I used 3D simplex noise because it doesn't make sense to use 2D noise in this case, since the sphere cuts in all dimensions, not like the plane which cuts in only one direction. And I use simplex noise because the algorithm is in real time (it is not a texture) and it is faster and more optimized than classic Perlin noise. Anyway, Perlin noise is my favorite when I use it on a texture. INCLUDE FILE: SOURCE OF SIMPLEX 3D NOISE ALGORITHM:
Hide player controls
Hide resume playing