All Projects → Zylann → Godot_heightmap_plugin

Zylann / Godot_heightmap_plugin

Licence: other
HeightMap terrain for Godot implemented in GDScript

Projects that are alternatives of or similar to Godot heightmap plugin

Godot3 procgen demos
Exploring Procedural Generation algorithms in Godot
Stars: ✭ 85 (-88.15%)
Mutual labels:  game-development, godot-engine
Unity resources
A list of resources and tutorials for those doing programming in Unity.
Stars: ✭ 170 (-76.29%)
Mutual labels:  game-development, terrain
Gamedev4noobs
Olá, sejam bem-vindos ao repositório _gamedev4noobs_ do Estúdio Vaca Roxa. O propósito desse repositório, além de contribuir para o projeto 4noobs, é ensinar o básico do desenvolvimento de jogos para iniciantes. Apresentando boas práticas e insumos para criar games incríveis.
Stars: ✭ 122 (-82.98%)
Mutual labels:  game-development, godot-engine
Mdframework
A multiplayer C# game framework for Godot 3.2 Mono.
Stars: ✭ 34 (-95.26%)
Mutual labels:  game-development, godot-engine
GodotTerrainEditorPainter
Heightmap based terrain editor plugin for GODOT with vertex color based terrain shader painting
Stars: ✭ 23 (-96.79%)
Mutual labels:  terrain, godot-engine
Unity3d Ai And Procedural Generation Framework
Unity3D AI and Procedural Generation Framework.
Stars: ✭ 58 (-91.91%)
Mutual labels:  game-development, terrain
Godot Ink
Ink integration for Godot Engine.
Stars: ✭ 129 (-82.01%)
Mutual labels:  game-development, godot-engine
Cartographer
A GPU powered Terrain editor and renderer for Godot Engine
Stars: ✭ 216 (-69.87%)
Mutual labels:  godot-engine, terrain
Luascript
Lua language support for Godot Engine
Stars: ✭ 240 (-66.53%)
Mutual labels:  game-development, godot-engine
Awesome Godot
A curated list of free/libre plugins, scripts and add-ons for Godot
Stars: ✭ 3,092 (+331.24%)
Mutual labels:  game-development, godot-engine
Cows Revenge
Casual platform game project for learning purposes
Stars: ✭ 33 (-95.4%)
Mutual labels:  game-development, godot-engine
Godot 2d Space Game
A 2D space exploration and mining game made with Godot and our AI framework
Stars: ✭ 462 (-35.56%)
Mutual labels:  game-development, godot-engine
Space rocks
Asteroids-like game made with Godot Engine 3.0.
Stars: ✭ 20 (-97.21%)
Mutual labels:  game-development, godot-engine
Qurobullet
A powerful 2D projectile system module for Godot!
Stars: ✭ 78 (-89.12%)
Mutual labels:  game-development, godot-engine
Godot Open Rpg
Learn to create turn-based combat with this Open Source RPG demo ⚔
Stars: ✭ 855 (+19.25%)
Mutual labels:  game-development, godot-engine
Godot Fmod Integration
FMOD Studio middleware integration and scripting API bindings for the Godot game engine.
Stars: ✭ 130 (-81.87%)
Mutual labels:  game-development, godot-engine
Godot Kickstarter 2019
Create your Own Games with Godot, the Free Game Engine: sources from the January Kickstarter project from GDQuest
Stars: ✭ 194 (-72.94%)
Mutual labels:  game-development, godot-engine
Godot Power Pitch
International pitch for the Godot Game Engine, made in Godot, available in 15+ languages
Stars: ✭ 348 (-51.46%)
Mutual labels:  game-development, godot-engine
Godot Steering Ai Framework
A complete framework for Godot to create beautiful and complex AI motion. Works both in 2D and in 3D.
Stars: ✭ 482 (-32.78%)
Mutual labels:  game-development, godot-engine
Svelto.ecs
Svelto ECS C# Lightweight Data Oriented Entity Component System Framework
Stars: ✭ 605 (-15.62%)
Mutual labels:  game-development

HeightMap terrain plugin for Godot Engine

Editor screenshot

Heightmap-based terrain for Godot 3.1 and 3.2. It supports texture painting, colouring, holes, level of detail and grass, while still targetting the Godot API.

Note: The current Godot master branch isn't supported yet. Use Godot 3.2 if you want to use this plugin.

This repository holds the latest development version, which means it has the latest features but can also have bugs. For a "stable" version, use the asset library or download from a commit tagged with a version. The master branch is the latest development version, and may have bugs. Some major features can also be in other branches until they are done. For release versions, check the Git branches named after those versions, like 0.10.

To get the last version that supported Godot 3.0.6, checkout branch 0.10.

Installation

This is a regular editor plugin. Copy the contents of addons/zylann.hterrain into the same folder in your project, and activate it in your project settings.

The plugin now comes with no extra assets to stay lightweight. If you want to try an example scene, you can install this demo once the plugin is setup and active: https://github.com/Zylann/godot_hterrain_demo

Usage

Documentation

Why this is a plugin

Godot has no terrain system for 3D at the moment, so I made one. The plugin is currently fully implemented in GDScript. I wish I could make it a C++ module, but being a GDScript plugin allows much faster iteration and everyone can try it and modify it much more easily. Recently, some parts started to be implemented as a GDNative library to speed them up (only on supported platforms). Godot could get a terrain system in the future, maybe in 4.x or after, but it's going to be a long wait, so developping this plugin allows me to explore a lot of things up-front, such as procedural generation and editor tools, which could still be of use later.

GLES2 support

Due to a number of things GLES2 doesn't support officially, and the disparity of extensions Godot is currently trying to use, making this plugin work in GLES2 is quite a lot of work. Some things might be easier, others need completely different implementations.

Here are some of the causes:

  • textureSize doesn't work in shaders. If the following issues can be solved, we could rewrite all shaders without using this function so they are compatible between both renderers.

  • High range textures get clamped to 0..1, making heightmaps completely flat (GLES2 actually supports this through an extension, but Godot doesn't appear to use it).

  • VisualServer has set_data_partial, but it's not implemented so editing terrain doesn't work. GLES2 should also support partial texture update.

  • GLES2 does not require texture fetch from vertex shader to work, so some rare mobile devices implement it, others don't. This plugin heavily relies on displacing vertices from shader. Generating unique meshes would require a huge rewrite just so it works on those devices and would use a ton more memory to store all the required meshes and LODs.

  • The procedural generator doesn't work, and likely never will in GLES2 because it relies on HDR framebuffers.

  • For more info, see https://github.com/Zylann/godot_heightmap_plugin/issues/96

Supporters

This plugin is a non-profit project developped by voluntary contributors. The following is the list of the current donors. Thanks for your support :)

Supporters

- wacyym
- Sergey Lapin (slapin)
- Jonas (NoFr1ends)
- lenis0012
- Phyronnaz
- RonanZe
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].