Coder Social home page Coder Social logo

boyquotes / godot-terrain-edit Goto Github PK

View Code? Open in Web Editor NEW

This project forked from bastiaanolij/godot-terrain-edit

0.0 0.0 0.0 49.11 MB

A GPU based terrain editor written in the Godot game engine

License: MIT License

GDScript 75.70% GLSL 24.30%

godot-terrain-edit's Introduction

Godot GPU Terrain editor

This is a very early version of my terrain editor for Godot. Consider this broken alpha software :) Note that you need to have a current master build of Godot to use this. It requires features that have been merged but are planned to be part of the Godot 3.1 release.

The load and save function work on a folder. Saving results in the height map and splat map being saved as png files in the selected folder. Load will attempt to load those.

I did attempt to also load/save the textures being used but had lots of problems with this especially with normal maps. That said, it would be better to save the location of the files.

Once you create a terrain and have saved that terrain, you can copy the contents of the addons/terrain folder into your own Godot project and add the Terrain-render.tscn scene as a subscene to your project. Then assign the heightmap and splatmap textures to the terrain.

In a similar fashion you can assign the textures you wish to use for the terrain types. There are 5 terrain types and each have 3 textures you can assign:

  • a diffuse texture for the color
  • a normal map
  • a PBR map (red = metallic, green = roughness, blue and alpha are reserved)

Note that at this point in time you don't see the terrain until you start your project. I hope to resolve that in due time.

License

The source code held within is released under an MIT license.

Note that various images found within the textures folder are copyright by their respective authors. Please visit HDRIHaven and Textures.com for further details.

About this repository

This repository was created by and is maintained by Bastiaan Olij a.k.a. Mux213

You can follow me on twitter for regular updates here: https://twitter.com/mux213

Videos about my work with Godot including tutorials on working with Godot can by found on my youtube page: https://www.youtube.com/channel/UCrbLJYzJjDf2p-vJC011lYw

godot-terrain-edit's People

Contributors

bastiaanolij 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.