Control how much to blend a texture with the previous texture
| <node3d>.texblend( | |
| blend | # 0 to 1 |
| node = '' | |
| unit = 0 | |
| op = viz.OP_DEFAULT |
)
blend
The percentage to blend with the previous texture.
node = ''
Name of sub-node to apply changes to
unit = 0
The texture unit to blend with the previous texture unit.
op = viz.OP_DEFAULT
Can be viz.OP_DEFAULT to use the nodes default op mode or a combination of the following values:
Op modes |
|
viz.OP_TRAVERSE |
When performing an operation on a node, traverse the entire subgraph and process all subnodes as well. This is the default value. |
viz.OP_OVERRIDE |
When applying attributes, have them override attributes of subnodes. |
viz.OP_ROOT |
When performing an operation on the node, start at the root transform of the node, instead of the model. Processing the root will include all child Vizard nodes. |
This command controls how much to blend a texture with the previous texture. For example, if the value of blend is 0.7, then 70% of the current texture will be blended with 30% of the previous texture. If unit is 0 then the current texture will be blended with the underlying color of the object by the given percentage. Otherwise the texture unit will be blended with the texture on unit-1.
None