FyroxEngine / Fyrox

3D and 2D game engine written in Rust
https://fyrox.rs
MIT License
7.64k stars 343 forks source link

Add an ability to flatten terrain slopes #353

Closed mrDIMAS closed 1 year ago

mrDIMAS commented 2 years ago

There is no way to flatten terrain slopes, which may be a blocker if one needs to create plateau at some place on the terrain. There should be a separate mode like Flatten Heightmap for terrain brushes.

In the editor, it should pick height at a point and set its values to surrounding "pixels" in height map. It can also do this smoothly to create smooth transitions between plateau and slopes.