The Glossiness to Roughness Converter is a simple application designed to convert glossiness texture maps to roughness maps. This is particularly useful for Source 2 game developers.
- Drag-and-drop interface for easy texture loading.
- Automatic conversion from glossiness to roughness.
- Customizable output directory and file naming.
- Very simple UI.
- Drag and Drop: Simply drag your glossiness texture file into the application window.
- Conversion: The application automatically converts the glossiness map to a roughness map.
- Save: The converted file is saved in the specified directory with a "_rough" suffix.
Since PyInstaller does not support cross-platform compilation, you will need to compile the application on a Windows machine. Follow these steps to compile the program:
- Python 3.11: Ensure Python is installed on your system.
- Pip: Make sure you have pip installed to manage Python packages.
-
Clone the Repository: Clone this repository to your local machine.
git clone https://github.com/yourusername/your-repo.git cd your-repo -
Install Dependencies: Install the required Python packages using the provided
requirements.txtfile.pip install -r requirements.txt
-
Install PyInstaller: You need PyInstaller to compile the application.
pip install pyinstaller
To compile the application into a standalone executable, use the following command:
pyinstaller main.specThis command will generate an executable in the dist directory.
Navigate to the dist directory and run the generated executable. The application will launch and be ready for use.
This project is licensed under the MIT License. See the LICENSE file for details.
Contributions are welcome! Please fork the repository and submit a pull request for any improvements or bug fixes.
