Advanced Triplanar Material

Accurate, optimized triplanar material function including corrected normal mapping

Category:
Tags: , , , , ,

Description

Triplanar material functions often overlook normal maps because they require correction in order to appear accurate.

This plugin includes clearly labelled, well-structured material functions which can be reused anywhere in your project for good-looking, accurate triplanar texturing.

Also includes demo materials with annotated material graph which explains how the functions are optimised for performance. These optimisations allow you to use the function for multiple textures, for example in a PBR workflow, with minimal extra overhead.

FreePBR.com

The demo materials use PBR textures from FreePBR.com which has over 500 high quality texture packs available to download. They are all fully compatible with this material function and I highly recommend them.

Technical Details

Includes:

Features:

AdvancedTriplanarInit:

This function is used once within your material to calculate the triplanar mapping UVs, plane masks and a few other parameters. These can then be reused as many times as needed within your material in the other material function; AdvancedTriplanar

AdvancedTriplanar

This function takes the parameters from AdvancedTriplanarInit and applies them to a specified texture. This function can be used multiple times with different textures, but taking the same parameters from the init function. This is particularly useful for PBR materials where you may need to apply triplanar mapping to BaseColor, Occlusion, Roughness, Metallic and Normal.

Assets:

Master material: 2

Material instances: 32

Material functions: 2

Textures: 86 (all 2k resolution)

Supported Development Platforms:

Windows: Yes

Mac: Yes

Documentation: https://blog.henlo.co/2023/09/13/advanced-triplanar-material/

Supported Engine Versions

4.27, 5.0 – 5.3