A utility for processing a texture using its normal map.
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.
- Install requirement packages
pip install -r requirements.txt
or
pip install opencv_python_headless==4.6.0.66 Pillow==9.2.0
- Run the utility
python generator.py -t texture.png -n normal_map.png
https://www.moddb.com/tutorials/pseudo-normal-maps-for-gold-source-engine