A procedural textures addon for Godot
Go to file
RodZill4 279b0e0103 Improved SpatialMaterial support
Now the material node is aimed at Godot's SpatialMaterial. Textures are generated and passed to the SpatialMaterial (and not generated as shaders anymore).
Rendering textures requires a Timer (to wait for the viewport to be rendered). There has to be a better solution...
Added a couple more examples.
2018-07-29 23:43:24 +02:00
addons/procedural_material Improved SpatialMaterial support 2018-07-29 23:43:24 +02:00
doc Added a screenshot for the doc 2018-07-29 12:07:14 +02:00
examples Improved SpatialMaterial support 2018-07-29 23:43:24 +02:00
.gitignore Smart typo in perlin noise node 2018-07-29 14:21:49 +02:00
default_env.tres More nodes and load/save 2018-07-22 23:25:05 +02:00
icon.png First version 2018-07-22 17:20:27 +02:00
icon.png.import First version 2018-07-22 17:20:27 +02:00
LICENSE Initial commit 2018-07-22 17:08:24 +02:00
project.godot More nodes and load/save 2018-07-22 23:25:05 +02:00
README.md First version of the readme... 2018-07-29 12:33:50 +02:00

This is an addon for the Godot game engine that can be used to create texture procedurally.

Its user interface is based on Godot's GraphEditor: textures are described as interconnected texture generators and operators.

Screenshot

Generators

Image

This operator reads a bitmap from disk

Sine

This generator creates sine wave based vertical bars. It will soon be replaced with a more flexible generator (similar to the PatternFunction in NeoTextureEdit)

Its parameters are the number of bars and a multiplier applied to the sine wave (higher values will make the bars sharper).

Sine pattern

Bricks

This generator creates bricks greyscale patterns.

The Bricks generator has 5 parameters:

  • the number of brick rows
  • the number of bricks per row
  • the offset between even and odd rows
  • the mortar space between bricks
  • the bevel at the edge of the bricks

Bricks pattern

Perlin Noise

The Perlin Noise generator creates a greyscale pattern and has 4 parameters:

  • the horizontal and vertical scale of the first iteration
  • the number of iteration
  • the persistence (the weight ratio between 2 iterations)

Perlin Noise

Voronoi Noise

The Voronoi Noise generator creates greyscale patterns based on Voronoi diagrams and has 3 parameters:

  • the horizontal and vertical scale (the number of feature points)
  • the "intensity" of the noise (used to adjust the generated color)

Voronoi Noise