https://github.com/mrglaster/pnormalmapsgenerator
A utility for processing a texture using its normal map.
https://github.com/mrglaster/pnormalmapsgenerator
bumpmap details enhancement game-development gameengine goldsource normalmap texture
Last synced: 6 months ago
JSON representation
A utility for processing a texture using its normal map.
- Host: GitHub
- URL: https://github.com/mrglaster/pnormalmapsgenerator
- Owner: mrglaster
- Created: 2022-08-09T08:52:25.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2022-08-25T03:23:41.000Z (about 3 years ago)
- Last Synced: 2025-03-26T02:51:05.340Z (7 months ago)
- Topics: bumpmap, details, enhancement, game-development, gameengine, goldsource, normalmap, texture
- Language: Python
- Homepage:
- Size: 16.5 MB
- Stars: 10
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Pseudo normal maps generator
A utility for processing a texture using its normal map.## What is this utility for?
Some older game engines do not support certain technologies. These technologies may include Normal Mapping - a texture mapping technique used for faking the lighting of bumps and dents. Using this utility and the existing normal map, you can process the texture and get something close to the bump mapping result.
## Example results

## In-model results

## How to use?
1) Install requirement packages
```
pip install -r requirements.txt
```or
```
pip install opencv_python_headless==4.6.0.66 Pillow==9.2.0
```2) Run the utility
```
python generator.py -t texture.png -n normal_map.png
```## Links
https://www.moddb.com/tutorials/pseudo-normal-maps-for-gold-source-engine