mirror of
https://github.com/Relintai/material-maker.git
synced 2024-12-23 21:16:54 +01:00
Updated generators descriptions
This commit is contained in:
parent
6f0eb8e8e1
commit
0f916dd16c
19
README.md
19
README.md
@ -10,12 +10,12 @@ Its user interface is based on Godot's GraphEditor: textures are described as in
|
|||||||
|
|
||||||
This operator reads a bitmap from disk
|
This operator reads a bitmap from disk
|
||||||
|
|
||||||
### Sine
|
### Pattern
|
||||||
|
|
||||||
This generator creates sine wave based vertical bars.
|
This generator creates a greyscale image by mixing an horizontal and a vertical pattern.
|
||||||
It will soon be replaced with a more flexible generator (similar to the PatternFunction in NeoTextureEdit)
|
Patterns can either be based on a sine, triangle or square waveform (i.e. the color as function of the x or y coordinate).
|
||||||
|
The frequency (number of waves per unit) be configure for both axes.
|
||||||
Its parameters are the number of bars and a multiplier applied to the sine wave (higher values will make the bars sharper).
|
Mix functions can also be configured.
|
||||||
|
|
||||||
![Sine pattern](doc/sine.png)
|
![Sine pattern](doc/sine.png)
|
||||||
|
|
||||||
@ -30,6 +30,10 @@ The Bricks generator has 5 parameters:
|
|||||||
* the mortar space between bricks
|
* the mortar space between bricks
|
||||||
* the bevel at the edge of the bricks
|
* the bevel at the edge of the bricks
|
||||||
|
|
||||||
|
The bricks generator has 2 output:
|
||||||
|
* the first one will show mortal as black and bricks as white (bevel being shown as a gradient). It can be used as mask to mix brick and mortar, or to generate depth and normal textures
|
||||||
|
* the second one will just show a different color for each brick. It can be used to affect the brick's colors (and will be used in the future to offset textures).
|
||||||
|
|
||||||
![Bricks pattern](doc/bricks.png)
|
![Bricks pattern](doc/bricks.png)
|
||||||
|
|
||||||
### Perlin Noise
|
### Perlin Noise
|
||||||
@ -47,4 +51,9 @@ The Voronoi Noise generator creates greyscale patterns based on Voronoi diagrams
|
|||||||
* the horizontal and vertical scale (the number of feature points)
|
* the horizontal and vertical scale (the number of feature points)
|
||||||
* the "intensity" of the noise (used to adjust the generated color)
|
* the "intensity" of the noise (used to adjust the generated color)
|
||||||
|
|
||||||
|
The Voronoi generator has 3 outputs:
|
||||||
|
* The first output shows a greyscale image where intensity depends on the distance to the cell centers
|
||||||
|
* The second output shows a greyscale image where intensity depends on the distance to the cell edges
|
||||||
|
* The third output shows a different color for each cell.
|
||||||
|
|
||||||
![Voronoi Noise](doc/voronoi.png)
|
![Voronoi Noise](doc/voronoi.png)
|
||||||
|
Loading…
Reference in New Issue
Block a user