Alpha Test Sample
This material graph sample demonstrates how to use alpha testing when creating materials.
The Sample2D node samples data from an RGBA texture (Texture node) in accordance with the default UV and passes RGB color components to the Albedo port of the Deferred PBR Material master material node via the xyz port adapter while passing Alpha data to the Opacity port via the w port adapter.
Normal data for the Deferred PBR Material master material node is taken via the XYZ port adapter from the tangent-space Normal map data (Texture node) sampled by the Sample 2D node.
Transluсency of the resulting material is controlled via the Float Slider node (enabling you to adjust a float value via the Parameters panel in the UnigineEditor) connected to the translucent port of the Deferred PBR Material master material node.
Finally, the data output is passed to the Final Material node.