https://github.com/orchaldir/texture_generator
Generating procedural textures
https://github.com/orchaldir/texture_generator
2d-graphics procedural-textures texture-generation tilemap
Last synced: about 1 year ago
JSON representation
Generating procedural textures
- Host: GitHub
- URL: https://github.com/orchaldir/texture_generator
- Owner: Orchaldir
- License: gpl-3.0
- Created: 2021-03-07T11:43:40.000Z (about 5 years ago)
- Default Branch: main
- Last Pushed: 2021-06-22T19:02:34.000Z (almost 5 years ago)
- Last Synced: 2025-02-28T01:49:51.870Z (about 1 year ago)
- Topics: 2d-graphics, procedural-textures, texture-generation, tilemap
- Language: Rust
- Homepage:
- Size: 2.66 MB
- Stars: 27
- Watchers: 2
- Forks: 2
- Open Issues: 29
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Orchaldir's Texture Generator in Rust

## Textures
A library & application to generate procedural textures based on texture definition files.
See [an example](resources/textures/brick.yaml).
The example can be generated with:
```terminal
texture_generator resources/textures/brick.yaml brick 1024
```
This generates a color image:

And a depth image:

## Tilemaps
A library & editor to create tilemaps and render them with the previous procedural textures.
See [an example](resources/tilemaps/example.otm).
The rendered color image with [ambient occlusion](https://en.wikipedia.org/wiki/Ambient_occlusion) & lighting:

And the depth image:

The editor uses the GUI library [Iced](https://github.com/hecrj/iced):
