Creates a color map function that interpolates between three colors using quadratic interpolation. Use colormaps in the ShadingScene.addColorMap method to define the colors of the returned Three.js geometry.
The input colors.
The first color.
The second color.
The third color.
A function that takes a value t (0 to 1) and returns an interpolated color.
Creates a color map function that interpolates between three colors using quadratic interpolation. Use colormaps in the ShadingScene.addColorMap method to define the colors of the returned Three.js geometry.