Awesome
TerrainDecorator
TerrainDecoration is Rule-based terrain texturing tool for Unity3D that I have developed for Fire & Steel Game.
I am publishing it as it is because I believe that I can no longer find time and correct my mistakes due to a heavy work schedule :( it has a lot of work to do now and has KNOWNBUGS! It would be nice if someone could fix it. It contains filters such as slope, height, noise, image mask and blend modes that can be used in combination. It consists of 2 scripts. You can put the "MiniTerrainDecorator" script on the terrain and start entering the rules. You can even use the tool in real-time by tweaking some code.
demo video:
https://youtu.be/UUpmUqy_JeY (I could not share this assets in this project, instead, my friend Nur Şenavcı made awesome low poly assets models)
tutorial video:
I made all terrains in my "Fire and Steel" game with TerrainDecorator:
https://store.steampowered.com/app/1791790/Fire_and_Steel/
TODO & BUGS
-
If adding, removing or changing layers or trees while minidecorator is present, terrainDecorator may crash very badly. It would be more appropriate to add miniDecorator after this process is finished.
-
There is a big bug with weight calculation. unexpected behavior occurs when there are too many rules. please someone solve
-
It should be optimized, it gets very slow at 4096x4096 resolution, especially if there are image filters.
-
"show progress" is very problematic. That's why I said it was experimental. It looks very stylish in videos, but if there is an error, it is very difficult to fix. And It's running very slow. Only, It can be used for demonstration purposes.
-
perlin noise in is very difficult to control. luckily, i give nice noise images instead. Better noise patterns can be achieved using ImageFilter.
-
A tile parameter can be added for the image filter.
-
Since I work in hdrp, I did not add grass/details textures/models. they can be added the parameters in the tree insertion part are very experimental