Switch – The index used to switch between the assigned materials. If the index does not correspond to any connected node, the Round Mode determines which node is sampled. Round Mode – Determines how to round the switch value. When Round Nearest is selected, the switch range is taken as follows: ID(x) = [x - 0.5; x + 0.49] |
For example, a list of 3 materials will have the following range: Material 1 with ID 1 is assigned for values 0.5 - 1.49; Material 2 with ID 2 is assigned for values 1.5 - 2.49; Material 3 with ID 3 is assigned for values 2.5 - 3.49. When Round Down is selected, the switch range is taken as follows: For example, a list of 3 materials will have the following range: Material 1 with ID 1 is assigned for values 1.0 - 1.99; Material 2 with ID 2 is assigned for values 2.0 - 2.99; Material 3 with ID 3 is assigned for values 3.0 - 3.99. Loop Materials – If the switch value is out of range, V-Ray uses the next available material assigned, skipping empty slots and looping from the beginning. + Add - – Adds a new material. Clicking on the button removes a material. Each material slot is created with a corresponding ID assigned to it. Change the ID from the arrows. |