Quick poll here… I’m trying to come up with a more scriptable way to define texture types in file names.
About 90% of our game textures are used as single texture 2D sprites. Diffuse color, no spec, norm, etc.
Since out pipeline is so 2D-centric, but needs to accommodate occasional realtime 3d assets, I’d like to use file name delimiters to call texture types.
My own thoughts:
- Don’t assume “_.” suffix format. 90% of files would end in “_D” for no reason.
- @ is used for variations of the same thing, like @2x
could work, but I’ve never seen it used in file names
- ^ seems to be the best fit, but is also a regex delimiter
So my gut says “PRJ_Feature_Thing^NM.png” would be decent, with a default texture like this “PRJ_Feature_Thing.png”