/GodotStuff

Some usefull and useless stuff I've made with Godot engine

Primary LanguageGDScriptMIT LicenseMIT

TassuP's Godot stuff

This repository is for some little things I've made with Godot engine. Everything here is released under MIT-license, so you can use them in any way you like. No need to give me credit.

Sky shader demo

A procedural sky shader for Godot 2.1.x, similar to the procedural sky in Godot 3.0. The demo has three examples skies. The shader draws a sky gradient and the sun, while a gdscript updates a directional light source, shadows, fog and ambient light.

Screenshot Screenshot Screenshot Screenshot Screenshot

Simplex noise module

A custom c++ module for a Simplex noise function for Godot 2.x. Later versions of Godot have built in OpenSimplex noise module. Only 2D-version for now, since that's apparently not protected by patents. This module reduces 91% of the computing time compared to GDScript implementation.

Delaunay Triangulator

A basic 2D Delaunay triangulation demo for Godot. This demo just creates a MeshInstance from random points, but the algorithm can be used for generating terrain heightmaps, convex hulls, navmeshes, vectorizing bitmaps, caves in a roguelike, etc.

Screenshot Screenshot

Texture Painter

This is a small demo showing how to paint textures directly to a 3D-model. Something like Texture Paint mode in Blender.

Screenshot