logo80lv
Articlesclick_arrow
Talentsclick_arrow
Events
Workshops
Aboutclick_arrow
profile_login
Log in
0
Save
Copy Link
Share

Developer Shows Custom Godot Shader Deforming Objects According to Terrain

Jan Fidler showcased a new tool created for the upcoming RTS game By Sword & Road.

Game Developer Jan Fidler, working on an RTS game titled By Sword & Road, showcased a new custom tool: a Godot shader that deforms objects according to terrain.

The developer clarified that the tool takes the terrain height map and deforms the mesh according to it, and as long as you keep updating this data, the meshes will dynamically react to it. A global shader parameter handles the terrain height map, height scale, and terrain width and length. The terrain shader translates each vertex position into terrain texture space to determine the vertical displacement of each vertex on the plane mesh. The building shader follows the same logic, with the key difference that it also considers the original shape, so it does not flatten the mesh.

By Sword & Road, the game for which the tool was crafted, is a minimalistic strategy focused on setting up military logistics. The main idea is that players can conquer their enemies by cutting off their supply lines. Alongside, the RTS features an original story campaign and challenges.

Jan Fidler

Jan Fidler

Before, Jan Fidler showed another Godot tool created for the game – a custom terrain tool that adds diverse landscape relief:

Try the demo of By Sword & Road on Steam and subscribe to our Newsletter, join our 80 Level Talent platform, and follow us on Twitter, LinkedIn, Telegram, and Instagram, where we share breakdowns, the latest news, awesome artworks, and more.

Are you a fan of what we do here at 80 Level? Then make sure to set us as a Preferred Source on Google to see more of our content in your feed.

Subscribe to 80 Level Newsletters

Latest news, hand-picked articles, and updates

Ready to grow your game’s revenue?
Talk to us

Comments

0

arrow
Type your comment here
Leave Comment
Ready to grow your game’s revenue?
Talk to us

We need your consent

We use cookies on this website to make your browsing experience better. By using the site you agree to our use of cookies.Learn more