Uploaded October 2021 | Updated September 2026, 3 weeks ago
In this Video I show you how you can create a basic mesh-terrain blending with triplanar mapping, in Godot 3.3.3.
This Shader was originally made in Godot 4.0, but for the tutorial I ported the shader back to Godot 3.3.3.
. . .
Timestamps:
00:00 Introduction
00:31 Shader Showcase
01:46 Setup Scene in Godot 3.3
02:25 Triplanar Shader in Godot 4.0
03:42 Porting the Shader to Godot 3.3
04:51 Setup the Mesh + Shader
07:15 vertex() + triplanar_texture()
08:34 fragment() + shader_param
11:11 Adding a transition mask
12:21 Apply the shader to other meshes
12:49 PBR Blend Shader in Godot 4.0
13:15 How to use the shader correctly
14:14 Outro
. . .
Everything that helped me along the way:
[German] Terrain Shader with different triplanar textures: youtu.be/I1LMM3tdug0
triplanar mapping explained: martinpalko.com/triplanar-mapping
point to plane distance calculation: youtu.be/WMZ_Jpz4iFI
UE4 DF Terrain Blending: youtu.be/kc76I0iSUck
Desert Scene breakdown with terrain blending: youtu.be/7Rq0LehSFiE
unity mesh blending: forum.unity.com/threads/terrain-mesh-blending.370401
. . .
My Social Media:
Twitter: twitter.com/kmitt91
Reddit: reddit.com/user/Kmitt91
Artstation: artstation.com/dj_kmitta
Sandfire Discord Server: discord.com/invite/KMshtQRwUC
. . .
Project File:
github.com/Kmitt91/mesh_terrain_blending
In this Video I show you how you can create a basic mesh-terrain blending with triplanar mapping, in Godot 3.3.3.
This Shader was originally made in Godot 4.0, but for the tutorial I ported the shader back to Godot 3.3.3.
. . .
Timestamps:
00:00 Introduction
00:31 Shader Showcase
01:46 Setup Scene in Godot 3.3
02:25 Triplanar Shader in Godot 4.0
03:42 Porting the Shader to Godot 3.3
04:51 Setup the Mesh + Shader
07:15 vertex() + triplanar_texture()
08:34 fragment() + shader_param
11:11 Adding a transition mask
12:21 Apply the shader to other meshes
12:49 PBR Blend Shader in Godot 4.0
13:15 How to use the shader correctly
14:14 Outro
. . .
Everything that helped me along the way:
[German] Terrain Shader with different triplanar textures: youtu.be/I1LMM3tdug0
triplanar mapping explained: martinpalko.com/triplanar-mapping
point to plane distance calculation: youtu.be/WMZ_Jpz4iFI
UE4 DF Terrain Blending: youtu.be/kc76I0iSUck
Desert Scene breakdown with terrain blending: youtu.be/7Rq0LehSFiE
unity mesh blending: forum.unity.com/threads/terrain-mesh-blending.370401
. . .
My Social Media:
Twitter: twitter.com/kmitt91
Reddit: reddit.com/user/Kmitt91
Artstation: artstation.com/dj_kmitta
Sandfire Discord Server: discord.com/invite/KMshtQRwUC
. . .
Project File:
github.com/Kmitt91/mesh_terrain_blending


