
Blend Objects with Terrains in Godot 3.3/4.0
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: https://youtu.be/I1LMM3tdug0
triplanar mapping explained: https://www.martinpalko.com/triplanar-mapping/
point to plane distance calculation: https://youtu.be/WMZ_Jpz4iFI
UE4 DF Terrain Blending: https://youtu.be/kc76I0iSUck
Desert Scene breakdown with terrain blending: https://youtu.be/7Rq0LehSFiE
unity mesh blending: https://forum.unity.com/threads/terrain-mesh-blending.370401/
. . .
My Social Media:
Twitter: https://twitter.com/kmitt91
Reddit: https://www.reddit.com/user/Kmitt91
Artstation: https://www.artstation.com/dj_kmitta
Sandfire Discord Server: https://discord.com/invite/KMshtQRwUC
. . .
Project File:
https://github.com/Kmitt91/mesh_terrain_blending








![[2D 게임 개발 꿀팁 시리즈] 모바일 성능과 쓰로틀링](https://img.youtube.com/vi/z0bkXem0g7o/hqdefault.jpg)

![[2D 게임 개발 꿀팁 시리즈] 2D 게임에 3D 오브젝트 쉽게 사용하는 방법](https://img.youtube.com/vi/8ytJW1I6Agg/hqdefault.jpg)
![[2D 게임 개발 꿀팁 시리즈] 그림자 최적화로 60FPS](https://img.youtube.com/vi/L494gnEHr5A/hqdefault.jpg)
![[2D 게임 개발 꿀팁 시리즈] 메모리 절약 스프라이트 5가지](https://img.youtube.com/vi/-cxbULpRSXE/hqdefault.jpg)

![[2D 게임 개발 꿀팁 시리즈] Sprite Shape vs. Tilemap](https://img.youtube.com/vi/q5Yeif-jJ2I/hqdefault.jpg)
![[2D 게임 개발 꿀팁 시리즈] 2D 배칭 최적화](https://img.youtube.com/vi/zMMACezlItM/hqdefault.jpg)


![Cards: Tidy Up! [Demo Out Now]](https://img.youtube.com/vi/6DDIfmMYYFs/hqdefault.jpg)
![[2D 게임 개발 꿀팁 시리즈] 2D 배칭 조건](https://img.youtube.com/vi/5DstF95ojw0/hqdefault.jpg)







![[2D 게임 개발 꿀팁 시리즈] 2D 게임 그림자 성능](https://img.youtube.com/vi/yMrlutMnhpc/hqdefault.jpg)

![[2D 게임 개발 꿀팁 시리즈] 성능과 재미 사이](https://img.youtube.com/vi/dE1PNUM40ag/hqdefault.jpg)












![[2D 게임 개발 꿀팁 시리즈] 2D 배칭](https://img.youtube.com/vi/0HO_7fwC_6A/hqdefault.jpg)





























![[2D 게임 개발 꿀팁 시리즈] Runtime Sprite Atlas](https://img.youtube.com/vi/ocFwQ4sogDo/hqdefault.jpg)


































































































