In this shader tutorial, I show the additional steps required to do triplanar projection with normal maps in Unreal and Unity. This method works correctly even when the mesh's UVs are flipped, rotated, or mirrored. It's a little complicated, but the results look great and work great too!
Here are each of the videos in our triplanar series so far:
26 - https://youtu.be/Rm4ubzc-6Q4 - texture projection
27 - https://youtu.be/HKSIxFnsHuk - direction masks
28 - https://youtu.be/sjpszGetM40 - basic triplanar projection
29 - https://youtu.be/tsE7Tqlv8DQ - triplanar projection improvements
Screen shot of the Triplanar Normals graph in Unity:
http://www.bencloward.com/youtube/triplanar_normals_unity.jpg
Unity Triplanar Normals Graph file (Unity 2022.1.b2):
(To download this assets, please right-click on the link and choose "save link as...", then select a location for the file.)
http://www.bencloward.com/youtube/TriplanarNormals.shadergraph
Screen shot of the Triplanar Normals graph in Unreal:
http://www.bencloward.com/youtube/triplanar_normals_unreal.jpg
Unreal Triplanar Normals Material file (Unreal 5):
(To download this assets, please right-click on the link and choose "save link as...", then select a location for the file. If Chrome tells you it can's download the file securely, click the up arrow icon and select "Keep")
http://www.bencloward.com/youtube/TriplanarNormal.uasset
And here's the playlist for the whole series:
https://www.youtube.com/playlist?list=PL78XDi0TS4lEBWa2Hpzg2SRC5njCcKydl
Learn more!
https://www.youtube.com/watch?v=6Q89fRpMck8
------------------------------
Theme Music
Peace in the Circuitry - Glitch Hop
http://teknoaxe.com/Link_Code_3.php?q=1526
Background Music
Speo - The Little Things
https://www.youtube.com/watch?v=aoc9v_TRBqc
#UnrealEngine #shadergraph #Unity