I’m evaluating if ArmorPaint is a potential addition to my workflow. The main problem though is that right now ArmorPaint can only export to Unreal style non-PBR image formats (metalness). My game engine though uses a true PBR system (diffuse/reflectivity). For the results to be usable I thus have to convert the textures before exporting. I’ve seen in the manul a mentioning of plugin support which should support JavaScript. I could though not find any information about the plugin system, the JavaScript supported for plugins nor how I could create a plugin in a way I can squeeze it into the export textures system. Any information would be helpful.
Hi,
Hoping I will finally get to document the plugin system soon - in the meantime maybe I can add more texture format exports directly. Is it enough to process the existing textures which ArmorPaint uses to suit your needs?
float3 diffuse = albedo * (1.0 - metallic);
float3 reflectivity = lerp(float3(0.04, 0.04, 0.04), albedo, metallic);
Is this how a diffuse and reflectivity map would look?
Looks correct. What I also use is a colorize-mask texture. If the ID texture could be exported I think this would also allow to cover those cases.