// Specular maps require normal maps, apparently
material texture AQCONC06 {
normal normal/aqconc06n.png
specular specular/AQCONC06s.png
specularlevel 0.3
glossiness 10
}
in this example i found from someone making material definitions, i notice when we define a material it is in the older looking format (8 characters all capitals like a wad)
i wonder if i can use the long pathname there at all?
i am making a pk3 folder and setting up scripts to autogenerate my normal maps using the a python script, which is using graphics magic to normalise the image, then using dbohdan/unflattener to generate a normal map (i sorta include this information as this process is fun, unflattener is a neat little tool, would love to give out my script when a little bit more refined if anyone was interested in the sort of mess you create when managing video game assets)
the python script will then be autogenerating a "GLDEFS" file..... yes i can do this but in this instance i will have to convert the lowercase "blahblah.png" to "BLAHBLAH"
this is likely okay it just seems out of wack, am i stuck with the short 8 char capital letter names for the most part as when i try to do things like this i inevitably have to use the CAPITALS format?
thanks.forum, i will try to make my script as usable as possible incase people are interested in autogenerating normal maps from the old textures as per their requirements
// Specular maps require normal maps, apparently material texture AQCONC06 { normal normal/aqconc06n.png specular specular/AQCONC06s.png specularlevel 0.3 glossiness 10 }
in this example i found from someone making material definitions, i notice when we define a material it is in the older looking format (8 characters all capitals like a wad)
i wonder if i can use the long pathname there at all?
i am making a pk3 folder and setting up scripts to autogenerate my normal maps using the a python script, which is using graphics magic to normalise the image, then using dbohdan/unflattener to generate a normal map (i sorta include this information as this process is fun, unflattener is a neat little tool, would love to give out my script when a little bit more refined if anyone was interested in the sort of mess you create when managing video game assets)
the python script will then be autogenerating a "GLDEFS" file..... yes i can do this but in this instance i will have to convert the lowercase "blahblah.png" to "BLAHBLAH"
this is likely okay it just seems out of wack, am i stuck with the short 8 char capital letter names for the most part as when i try to do things like this i inevitably have to use the CAPITALS format?
thanks.forum, i will try to make my script as usable as possible incase people are interested in autogenerating normal maps from the old textures as per their requirements
Share this post
Link to post