Set Shader Attribute
Original rendering, and result rendering of a SetShaderAttribute layout node : the t-shirt texture index attribute has been forced to a single value (red and yellow t-shirts) for entities on the left.
The SetShaderAttribute node forces the value of some specified shader attributes, on the affected Entities. The result is only in rendering as the shader attributes are not handled by previsualization.
Add node
- Drag the SetShaderAttribute node icon
from the Nodes Library panel and drop it in the Layout Graph Edition panel
- Hit the Tab key in the Layout Graph Edition panel and select the SetShaderAttribute option in the dropdown menu that appears
SetShaderAttribute node in the Layout Graph Edition panel
Node parameters
Parameters are accessible by double-clicking on the node in the Layout Graph Edition panel:
SetShaderAttribute node parameters
Name | Name of the node |
Active | Whether the node is active or not |
shaderAttribute | nameOfTheShaderAttrToOverride newValue[;nameOfTheShaderAttrToOverride2 newValue2][etc.] |