https://github.com/maclovin/simple-pbr-generator
A really simple tool to generate PBR texture from old-school image textures
https://github.com/maclovin/simple-pbr-generator
Last synced: 2 days ago
JSON representation
A really simple tool to generate PBR texture from old-school image textures
- Host: GitHub
- URL: https://github.com/maclovin/simple-pbr-generator
- Owner: maclovin
- License: gpl-3.0
- Created: 2022-07-08T03:47:49.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2022-07-08T20:24:54.000Z (about 4 years ago)
- Last Synced: 2025-10-26T09:37:53.185Z (9 months ago)
- Language: Python
- Size: 20.5 KB
- Stars: 5
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Simple PBR Generator
I developed this simple script in order to generate Normal, Ambient Oclusion and Height maps using any kind of texture image.
I'm currently using this to generate theses maps over pixel art textures and for this purpose works really great.
Feel free to make any adjustments and use freely in your indie-game. Have fun!
## Requirements
Install using Python3 PIP.
```console
python3 -m pip install -r requirements.txt
```
## Usage
```console
python3 simple_pbr_generator.py input_file [-h] [-o OUTPUT_FILE] [-s SMOOTH] [-it INTENSITY]
```
## Basic Example
```console
python3 simple_pbr_generator.py ~/my-awesome-retro-game/HLTX0952.png
```
The output will be `HLTX0952_normal.png`, `HLTX0952_height.png` and `HLTX0952_ao.png`.

---
Murilo Mac 2022