Skip to content

A really simple tool to generate PBR texture from old-school image textures

License

Notifications You must be signed in to change notification settings

maclovin/simple-pbr-generator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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.

python3 -m pip install -r requirements.txt

Usage

python3 simple_pbr_generator.py input_file [-h] [-o OUTPUT_FILE] [-s SMOOTH] [-it INTENSITY]

Basic Example

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.

Example Image


Murilo Mac 2022

About

A really simple tool to generate PBR texture from old-school image textures

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages