Visual Shaders Overview
Visual Shaders Overview
Texture Asset Patch

Texture Asset Patch

Use the texture asset patch to apply a texture to the material.

Create a texture asset patch by dragging the texture from the Assets panel to the Patch Editor.

Output

NameDescription

RGBA

Output a four-channel texture containing the RGB color and alpha components of the texture asset.

RGB

Output a three-channel texture containing only the RGB color components of the texture asset.

A

Output a one-channel texture containing only the alpha component of the texture asset.

Example

In the example below, we applied a texture asset to a consumer patch.

We did this by connecting the RGBA output on the texture asset to the Diffuse Texture input on the material’s consumer patch.