Code Monkey home page Code Monkey logo

terrain-decorator's Introduction

TerrainDecorator

terrain decorator cover

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:

https://youtu.be/veQOj4AJxZI

I made all terrains in my "Fire and Steel" game with TerrainDecorator:

https://store.steampowered.com/app/1791790/Fire_and_Steel/

https://youtu.be/obfxe4Kg22M

https://youtu.be/_PvDZa5GkBM

a3 a1

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

terrain-decorator's People

Contributors

emrecancubukcu avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.