Loading...
アイコン

devmar

チャンネル登録者数 1.93万人

9.1万 回視聴 ・ 3431いいね ・ 2022/05/24

Hi all, today I want to demonstrate an infinite terrain generation technique in Godot 4 (which also works for Godot 3.x of course) that uses a 'wandering' clipmap mesh and UV offsetting to control the projection of the terrain onto said mesh. The ground mesh is 'attached' to the player and moves around the world while the vertex shader that deforms it into a terrain offsets the UVs to counter each movement the player makes, thus causing the deformation to stay in place whilst its 'base' (ie, the ground mesh) is moving. I have heard of a few projects using this technique although I'm not sure how popular it is. It seems to be performing pretty well, offers lots of room for easy optimisation and is very easy to set up and manipulate.

I am using Godot 4 Alpha 8 for this one.

Clips I used that weren't mine:
Death Stranding gameplay
Red Dead Redemption II teaser
UnrealEngine-like clipmap LoD demo by William Godwin -    • UnrealEngine-like smooth terrain LOD ...  
Godot 4 Forest demo by Wojtek Pe -    • Forest Scene in Godot 4 (Alpha 6) - T...  

Music by Airtone

#MadeinGodot #GodotEngine #Godotterrain

コメント

コメントを取得中...

コントロール
設定

使用したサーバー: watawatawata