Zylann / godot_heightmap_plugin

HeightMap terrain for Godot implemented in GDScript
Other
1.74k stars 159 forks source link

Fractal noise brush #6

Open Zylann opened 6 years ago

Zylann commented 6 years ago

Raise and Lower tools are quite primitive nowadays, and mostly used for blocking out a terrain or quickly adjust it. A new kind of brush is needed, which would add details to a roughly sculpted terrain. It should be based on fractal noise, so that will require a noise library such as OpenSimplex. Given how small such libraries are, it's possible to embed OpenSimplex within the GDNative C++ code...

Zylann commented 5 years ago

This could be added in Godot 3.1 because it has OpenSimplex noise built-in.

Buri commented 4 years ago

Could first step be adding a semi-transparent and/or irregular brush, similar how for example unity does it? unity-tools

This might be somewhat easier and will also give user total control of end result.

Zylann commented 4 years ago

You can load a custom brush already, and even create your own as long as it's saved as EXR.

Zylann commented 3 years ago

As of today GPU painting is supported, so it would be easy to implement a noise brush with a shader. I'd use something similar to what is described in this article: https://www.decarpentier.nl/scape-procedural-extensions