Synopsis
- texture (texturePath)
Parameters
- texturePath—stringName of the texture file to insert. See asset search for information about search locations and built-in assets for a list of built-in textures. Supported image formats are listed in texturing essentials.
Description
The texture operation uses the file specified in the texturePath to texture the current shape (colormap channel). The "texture" command is the simplified version of "set(material.colormap,..)". The "texture" command does not create texture coordinates.
Related
Examples
|