The User sub-material node creates a sub-material from imported data.
A sub-material contains a set of textures that correspond to a single effect, for example, a rock sub-material or a grass sub-material.
Below is an example of different sub-materials.
To add a Simple material node, right-click in the Graph Editor and select Create Node > Materials > User sub-material or press the keyboard shortcut NSBA (Node SuB Material).
Below are examples of textures used to create a sub-material:
From left to right: Base color, Roughness, Ambient occlusion, Normal map
Only the Base color color map is mandatory. The Roughness and Ambient occlusion masks and the Normal map are optional, but it is strongly recommended to add them to obtain good quality rendering.
The most efficient way to create a User sub-material node is to have four image files containing the four Base color, Roughness, Ambient occlusion, and Normal map data in the same directory:
Drag one of the four files and drop it into Instant Terra's Graph window. Instant Terra automatically detects the presence of other files and proposes to import them at the same time:
Click on the YES button. Instant Terra to automatically import the four images and create a sub-material that uses them:
The User sub-material node parameters window is as follows:
Increase in size:
Decrease in size:
If you have the impression that the shadows are inverted from the sunlight along the y axis, the normal map may not have the correct convention. To change the direction of the sunlight, select Edit > Preferences > Environment settings to open the Environment parameters window:
When the Anti-tile box in the parameters Options is unchecked, you can generally see the repetition of the texture very clearly:
Checking the Anti-tile box minimizes this effect:
At a greater distance, the effect can still be visible:
One solution to hide this unwanted effect is to add a second level:
Up to three levels are possible:
Three sizes and two transition distances are therefore are available.
|Show terrain||Displays in the 3D view the terrain on which the material is applied.|
|Show material||Returns to the display of the material.|
|Number of levels||Determines the number of levels of the material.|
|Size||Adjusts the size of the sub-material.|
|Threshold distance 1-2||Defines the distance between the camera and the terrain between sizes 1 and 2.|
|Threshold distance 2-3||Defines the distance between the camera and the terrain between sizes 2 and 3.|
|Transition||Defines the transition between the two sizes.|
|Invert normal map||Automatically converts the normal map from DirectX to OpenGL.|
|Anti-tile||Minimizes the repetition of the texture.|
Copyright © 2021 · All Rights Reserved · Wysilab