A function that takes: (1) the point of the vertex, (2) the normal at the vertex, (3) the UV coordinate of the vertex, and (4) the projection from world coordinates to the eye, returning a new, displaced vertex.
Generates a shader that produces a bumpy pattern, like a toy ball.
Generates a shader that produces a bumpy pattern, like a toy ball.
a bumpy shader
Generates a shader that shell-displaces using a checkerboard pattern.
Generates a shader that shell-displaces using a checkerboard pattern.
the distance to displace along the black squares
the distance to displace along the white squares
a checkerboard shader
Generates a displacement shader that does nothing.
Generates a displacement shader that does nothing.
a null displacement shader
Generates a displacement shader that displaces all vertices uniformly along their normals.
Generates a displacement shader that displaces all vertices uniformly along their normals.
the distance to displace
a shell shader