Research Week 2/3


    After my first presentation, Paul recommended I look into shaders as a possible solution. he explained that I need to find the limitations of what's available then I can try to push the limits of what can be done, so this week was a lot of research. 

    Artistic Painter

Artistic Painter is a node tree that you can buy and implement into Blender, after painting a texture on the UVs this tool then filters the drawing, like a Photoshop filter. this is the closest thing I found to my original goal, however, it is a paid tool, and it's only for Blender. This was also posted seven years ago so I have no idea if it still works. 

In the demo video, they briefly show some of the nodes being used (Sadly not the full tree). 

From the description, the filter works by connecting the painted texture jpeg to the image texture, and then you can play with the sliders that control the Filter, Smudge, Details, and Mix. 

If you want to check out the tool for yourself, do so here .

UE5 Decals

Decals are a material that focuses on opacity/transparency. they use a base image and create an outline for it, the outline acts as an opacity mask, and the image as the base color. the material can be dragged and dropped onto an object with a pre-existing material to create a sort of overlay, the image will project on the surface in a volumetric space (a cube), It is really useful for things like graffiti or discoloration, and small details like crown molding. 

Post Process 

The Kuwahara filter is a non-linear photo editing technique that smooths pixels. to create this in UE5 in the post-process volume add a material array then create customer nodes inside the material to achieve the Kuwahara effect. 

Camera Projection (sort of?)

The video I found called this method camera projection, but I'm going to call it camera-based composite painting because the projection is doing less than 5% of the work. this CBCP method entails a lot of painting, after setting up the view of a 3D object, take a screenshot and paint the texture and environment over top of it in Photoshop, the project that "texture" onto the object, add lighting and other environment elements, screenshot, and paint again, this looks incredible, but you'll need to make correction paintings every time the camera moves. After multiple projections are set up, you can bake them onto the object. this is super time-consuming, not modular, and not feasible for game art. The only upside is the artistic freedom. 

Shaders

What I'm finding about shaders in UE is that people think they're synonymous with post-process volumes,  they way I've seen it describes all post-process use shaders, not all shaders use post-process, but creating a shader for unreal is a lot of hard coding and customizing the engine, rather than something inside the engine, I'm not finding a lot of documentation of how shaders are created for game engines rather than chunks of code people have written for shaders, with that I still don't know how to implement the script into the engine. 

Distortion Shaders are a type of shader that can "mess" with how uvs coordinates are interpreted. this is scripted directly into the material by adding some kind of "noise" (and image with RGB value) and applying it to the texture with an append, multiply, textcoord, and add nodes, this warps the base texture to the shape of the noise. 

Blender Live Paint

the live paint filter is a camera filter made fairly recently by a blender artist Alan Wyatt. He made a PNG of the full node tree and individual node groups available for download, bless him. 

The live paint filter itself is available on his Gumroad account for $10. the most important thing about his shader is the fact it's live, it works even if you change the camera angle, so I'm really hopeful I can create something similar to this in Unreal using the info Wyatt has made public. 

Another creator named Elias Wick had a personal project where they created around 100 shaders for Unreal Engine, they are, however, forty dollars each. While this is a touch inaccessible it's really great to see the range of work that can be created and he does have some documentation about these shaders public on his blog. 

Comments