main
open_to_work
Procedural Painterly Shader
Procedural Painterly Shader

The Problem: too many assets, too little time
The Devils' Advocate series on Shoddycast was explicitly inspired by shows like Arcane, and as such adopted a hand-painted painterly aesthetic. This was achieved in the art design stage firstly by texturing digitally and going for a very authentic, rough aesthetic, but this was found lacking in its initial presentation, primarily because hand-painted textures living in a 3D world don't themselves evoke the idea of a true painting, and this is largely because what makes a painting feel like a painting is lighting and shading. In order to enhance the aesthetic of the show, the effect of lighting and color dynamics was achieved not purely by albedo texturing, but also by hand-painting normals.
Painting normals by hand is the ideal way to get this look, but takes ages, especially if you include the entire import/export time and pipeline.
What makes a brushstroke feel like a brushstroke is just as much about the base color as it is about the texture and reflective qualities it evinces. In actual paintings, this is done purely with color (a sunbeam hitting a wall is a brighter color than the same wall in shadow). Hand-painting flattened and blended normals can achieve this same effect by bending the light in an engine's lighting system so that it creates the same color dynamic relationship we expect when looking at a painting, but in a real, rendered 3D environment. This works supremely well with hero assets like focal characters and regularly-recurring props, but it is profoundly time-intensive, taking an artist experienced with the flow tens of minutes if not well over an hour to paint even a single object once you account for the entire pipeline. This presents a real and measurable barrier to any project that doesn't have the resources to justify having artists spend entire weeks painting coffee cups that audiences won't ever look twice at.
The Solution: paint without painting using thousands of pre-authored strokes
In order to circumvent this limitation, I employed a procedural painterly effect that aimed to mimic the broad strokes (I'm nothing if not professional at all times) that our original art design conceived for the show. While several attempts at procedural painterly shaders exist, they are all often lacking in some way, and would stand out quite noticeably in this case against hand-painted assets, especially since purely-procedural texturing has a noticeable digital-noise quality to it. Furthermore, they are largely tuned purely for albedo color and ORMs, and do not adequately flatten the normals to achieve the most important outcome of the effect: lighting and shading dynamics. The solution, therefore, was to project thousands of individual probes that sample the surface normal (including or excluding a normal map) and then flattened the surface using real, hand-authored brushstrokes as the alpha blend. Combined with smart smudging effects, normal quantizing, and a few extra flourishes, this turned what was once an impossible task into one that can process hundreds of assets in just hours.
Projecting brushstrokes in object space and THEN baking allows us to get this look without any visible seams.
The Result: hundreds of perfect assets done while you sleep
Being able to process assets in bulk not only makes it possible to turn any arbitrary number of already-authored models and textures into a coherent, hand-painted style, it also is highly performant. This shader is meant to replace human-level work, not run in real-time by itself, and thus is built entirely with baking in mind (see the bulk baking tool for more information), which means the end result integrates cleanly and quickly with any engine and machine that can render standard PBR textures, thus saving hundreds of hours authoring, debugging, and tweaking art that most people won't even notice in the first place. After spending time on a few objects of different scales and making sure you're happy with the results, you can apply these settings and transform an entire game with minimal effort, saving hand-authoring for things that really matter.
hover over an image to see its realistic source asset
Key Features
runs offline
can emulate hundreds of human hours of work overnight
3D grid projection prevents UV-space seams
completely baked, so it runs extremely fast





