Creates a texture map based on 5 user-supplied colors.
create_texture(
lightcolor,
shadowcolor,
leftcolor,
rightcolor,
centercolor,
cornercolors = NULL
)
The main highlight color. Corresponds to the top center of the texture map.
The main shadow color. Corresponds to the bottom center of the texture map. This color represents slopes directed directly opposite to the main highlight color.
The left fill color. Corresponds to the left center of the texture map. This color represents slopes directed 90 degrees to the left of the main highlight color.
The right fill color. Corresponds to the right center of the texture map. This color represents slopes directed 90 degrees to the right of the main highlight color.
The center color. Corresponds to the center of the texture map. This color represents flat areas.
Default `NULL`. The colors at the corners, in this order: NW, NE, SW, SE. If this vector isn't present (or all corners are specified), the mid-points will just be interpolated from the main colors.