godot_heightmap_plugin icon indicating copy to clipboard operation
godot_heightmap_plugin copied to clipboard

Fractal noise brush

Open Zylann opened this issue 6 years ago • 4 comments

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 avatar Mar 16 '18 02:03 Zylann

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

Zylann avatar Nov 30 '18 00:11 Zylann

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.

Buri avatar Apr 03 '20 17:04 Buri

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

Zylann avatar Apr 03 '20 17:04 Zylann

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

Zylann avatar Dec 05 '20 18:12 Zylann