---
title: "MultiSubTex Node"
canonical: "https://documentation.chaos.com/space/VC4D/116855696/MultiSubTex+Node"
format: markdown
---
This page provides information about the MultiSubTex Node texture.


## **Overview**

---

The MultiSubTex Node texture distributes multiple textures to many objects via one single material, based on specified IDs or a random distribution.


![image](media://289990c5-3bed-412d-afcc-6052af54d584)



## **General**

---


**Default **– Specifies a default color or texture for objects without Object IDs.

**Mode **– Specifies where to get the IDs from:

**Polygon Selection** – The MultiSubTex Node uses a polygon selection set information.  
**Object ID** – The MultiSubTex Node considers the Object IDs of the object when feeding the data (color or texture) to the material.  
**Random by Composite Seed **– The MultiSubTex Node randomizes based on the selected option below.  
**Use ID Generator Texture**<span style="color: #202124"> – VRayMultiSubTex randomizes textures that allow integer input.</span>

<span style="color: #202124">**Switch ID **</span><span style="color: #202124">– A floating point value that calls the texture from the Texture List tab by the ID number. This option is available with the </span><span style="color: #202124">**Use ID Generator Texture**</span><span style="color: #202124"> mode. A </span><span style="color: #202124">**Texture**</span><span style="color: #202124"> can be assigned to override the floating point value and instead determine which texture to call.</span>

<span style="color: #202124">**Id Gen Tex Round Mode**</span><span style="color: #202124"> – if the Switch value falls between two textures from the Texture list, this determines whether V-Ray rounds to the </span><span style="color: #202124">**Nearest**</span><span style="color: #202124"> value or if it </span><span style="color: #202124">**Rounds Down**</span><span style="color: #202124">. This option is ignored when </span><span style="color: #202124">**Interpolate **</span><span style="color: #202124">is enabled.</span>

<span style="color: #202124">**Interpolate**</span><span style="color: #202124"> – If the switch value falls between two textures from the Texture List, enabling this option interpolates between them. Otherwise, when disabled, the closest texture from the list is used. This option is available when the </span><span style="color: #202124">**Mode**</span><span style="color: #202124"> is set to </span><span style="color: #202124">**Use ID Generator Texture**</span><span style="color: #202124">.</span>

<span style="color: #202124">**Random by Node Name**</span><span style="color: #202124"> – Generates a color index, based on the name of the node that the texture is applied to.</span>

<span style="color: #202124">**Random by Polygon Selection**</span><span style="color: #202124"> – The MultiSubTex Node assigns random colors based on the material IDs of the object's faces.</span>

<span style="color: #202124">**Random by Mesh Element **</span><span style="color: #202124">– The MultiSubTex Node assigns random colors based on element (e.g. teapot lid, etc.) IDs of the object.</span>

<span style="color: #202124">**Random by Scene Name**</span><span style="color: #202124"> – The MultiSubTex Node assigns random color/texture based on each object's full scene path. A full scene path means that it can be used for multiple objects with the same name but located on different levels/branches in the hierarchy of the scene, e.g. instances in different groups. This option preserves the same random result per object, even if one or more objects are added or deleted from the group.</span>

**Random by Instance ID** – The MultiSubTex Node assigns random colors based on the IDs of objects instanced with a particle emitter.

**Random by Object ID** – The MultiSubTex Node assigns random colors based on object's ID.

**Random by User Attribute** – <span style="color: #272727">Randomizes the textures based on a User Attribute assigned to the specific objects and set in the </span>**Random User Attr Name**<span style="color: #272727"> field.</span>

**Random Hue/Sat/Gamma** – These three parameters control the randomization of the output color. Input value is percentage of the HSV/gamma range and specifies the maximum random deviation, where gamma range is fixed to [1/10,10].

**Random User Attr Name**<span style="color: #272727"> – Determines the User Attribute to be used when </span>**Random by User Attribute**<span style="color: #272727"> is selected.</span>

**Seed** – When the mode is set to** Random by Node Name**, this parameter allows the user to change the randomization pattern.

**Loop Through Textures** – This option works in **Object ID** mode. When the faces or objects assigned with a MultiSubTex Node texture are more than the sub-textures in the map, the Loop Through Textures option goes through all sub-textures and once they finish, reverts to the first sub-texture, continuing until all faces or objects get a sub-texture. In Object ID mode all objects with assigned ID different than 0 get a sub-texture. The ones with object ID equal to 0 get the **Default** color. 


![image](media://8c2c2ca6-4fe6-469e-bf26-7d871fe9d798)



## **Texture List**

---


**Add From Folder** – <span style="color: #272727">Selects a folder and uploads all the textures from that folder to the texture list.</span>

**Clear **– <span style="color: #272727">Clears all the texture slots in the texture list, resetting the texture list to blank.</span>

**Add Texture** – <span style="color: #272727">Adds a new sub-texture to the texture list.</span>

**Remove Texture** – Removes the last sub-texture from the list.

**Used **– <span style="color: #272727">Enables the sub-texture for rendering.</span>

**Selection Tag** – Allows you to assign a polygon selection tag and apply the sub-texture only to that selection.

**ID **– <span style="color: #272727">For modes that use IDs, specifies the ID that corresponds to each texture.</span>

**Texture **– <span style="color: #272727">Specifies the multi-sub texture to be used.</span>


![image](media://99cb0ae5-e724-4c1c-a573-a83174373f6e)