Hello! Earlier today I posted the following work on the Blender subreddit, but I thought I might as well share a sneak peak of it here on BA aswell. It is one of one of my upcoming BlenderMarket products; an advanced dynamic masking toolkit along with smart materials.
[SUB](The stock shader with randomized settings)[/SUB]
I thought Blender has been lacking really good weathering and mesh conforming shaders, so this is what I’ve managed to produce so far. The shaders run on GPU, are fully dynamic and procedural but may be complemented with an AO map and a detail texture to enhance the fidelity.
[SUB](A sample of the dynamic mask selection)[/SUB]
The idea behind these smart materials is to utilize all the available mesh information, such as relative direction, position, curvature, cavities, occlusion, etc. and analyze this using an algorithm which conforms the shader to the mesh. Thus allowing dynamic weathering effects such as: edge wear, crevice dirt, tarnish, color bleaching, height based crevice sand, paint chipping, rust, scratches, leaking streaks, and much more, without any manual work. You can add a smart material to any mesh and it will conform to the curvature of it and add its weathering effects accordingly.
[SUB](Parametric wear and tear masks)[/SUB]
Currently the shader only uses the mesh itself for the base effects, but it also support AO-maps for improving occlusion-based effects and vertex paint/correction maps, allowing manual control over where to apply or remove the effects. (All the images included are using only mesh data, no AO map)
This is currently only an early prototype and the shaders shown are just quick examples, and not the final product. More features will be added, such as edge/crevice detection for normal maps, more procedural patterns and masks affecting all the channels (roughness, metalness, albedo, normals) for baking. The included examples are using random settings. I will make some proper material presets once the algorithm is finished.
TL:DR; I made a shader which uses the mesh data to create weathering masks.
Would you guys be interested in this shader? Any feedback so far? Questions?
Also, some more images are available in this Imgur gallery