Triplanar Sample
This material graph sample demonstrates how to implement triplanar mapping when creating materials.
Two core nodes that implement triplanar mapping are used in this sample:
- object_triplanar node that performs mapping of the albedo texture controlled by the three values (Triplanar Softness, UV Tiling, and UV Offset) each provided by a Float Slider node (enabling you to adjust float values via the Parameters panel in the UnigineEditor). The output is plugged into the Albedo port of Deferred PBR Material master material node.
- object_triplanar_normal node that performs mapping of the Normal Map texture controlled by the three values (Triplanar Softness, UV Tiling, and UV Offset) each provided by a Float Slider node (enabling you to adjust float values via the Parameters panel in the UnigineEditor). The output is plugged into the Normal port of Deferred PBR Material master material node.
Opacity and Roughness data for the Deferred PBR Material master material node are specified directly via port adapters.
Finally, the data output is passed to the Final Material node.
Last update:
2021-04-09
Help improve this article
Was this article helpful?
(or select a word/phrase and press Ctrl+Enter)