Spherifying Our Vertex Shader
· ☕ 1 min read
Expanding a vertex shader by allowing us to Clamp the distance of the vertices to a fixed distance. This effectively allows us to limit the model to a “sphere” or part of a sphere if we reduce the limit far enough.