This is a child page. You can use Parent in the quick nav bar at the top or the bottom of the page to navigate directly back to the parent of this page. Some child pages are more than one level deep, and in that case will require more than one Parent click to reach the outermost document level. |
This language element may be used inside a <trait> block.
"T" is a quoted name for a decision mapping method. P1, P2 and P2 may be expressions.
Decision mapping allows you to use a decision metric (such as a checkerboard) to decide whether to apply the <texturemap> or <texturemap2> language element on a particular point for any object.
For instance, you can set up <texturemap> to generate marble; then set up <texturemap2> to generate wood. Then, using the checkerboard decision map, you can create a checkerboard that alternates between marble and wood.
The following decision maps are supported:
Name | P1 | P2 | P3 | Details |
---|---|---|---|---|
checker | Size | n/a | n/a | Switches back and forth in a classic checker pattern |
noise | variance | threshold | gain | Applies noise as a switch |