Answers for "2D noise function to generate voxel circles"
http://answers.unity.com/questions/1451704/2d-noise-function-to-generate-voxel-circles.html
The latest answers for the question "2D noise function to generate voxel circles"Answer by Dray
http://answers.unity.com/answers/1451908/view.html
Use any generic 2D noise function and divide the result for each point by the distance to your planets center:
// p is the current x, y coordinate, origin is the planets center
float value = Noise(p.x, p.y) / Vector2.Distance(p, origin);
if (value > 0) {
// add block at p ...
}
This should provide you with a sphere that is being deformed by your noise function.Mon, 08 Jan 2018 11:16:24 GMTDray