This program will quickly create GLDEF defintion for all your textures, extremely useful for shaders like Cherno's SimSun shader which applies simulated lighting for 3D models
Screenshots:
Spoiler:Windows 8.1+ 32-bit needed, for Linux it will only work under 64-bit
One important thing, GLDEFGen must be in the root directory of your mod, otherwise it won't output the path to textures properly
Don't forget to exclude the program from your mod later on, because it has a big file size!
Download here: https://github.com/Kizoky/GLDEFGenerato ... s/tag/v1.0