mirror of
https://github.com/Relintai/material-maker.git
synced 2024-11-13 06:27:18 +01:00
Merge branch 'master' of https://github.com/RodZill4/godot-procedural-textures
This commit is contained in:
commit
100e2dffd1
52
README.md
52
README.md
@ -1,2 +1,50 @@
|
|||||||
# godot-procedural-textures
|
This is an addon for the Godot game engine that can be used to create texture procedurally.
|
||||||
A procedural textures addon for Godot
|
|
||||||
|
Its user interface is based on Godot's GraphEditor: textures are described as interconnected texture generators and operators.
|
||||||
|
|
||||||
|
![Screenshot](doc/screenshot.png)
|
||||||
|
|
||||||
|
## 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](doc/sine.png)
|
||||||
|
|
||||||
|
### 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](doc/bricks.png)
|
||||||
|
|
||||||
|
### 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](doc/perlin.png)
|
||||||
|
|
||||||
|
### 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](doc/voronoi.png)
|
||||||
|
Loading…
Reference in New Issue
Block a user