Home Unreal Engine

Comic Book PostProcess Shader, Help Using Custom Outputs and Postprocess

polycounter lvl 2
Offline / Send Message
Pinned
cageclaypool polycounter lvl 2
So I've been working on this comic book shader for a little bit. 
I've gotten it looking the way I want it so I don't really need critique unless you see something glaring that I overlooked. But I am a little unsatisfied with the execution.
So I wanted the textures to be in UV Space instead of world space. So I needed to have a way to get the crosshatch textures to appear in my post process scenetexture.
I messed with a few methods, but in the end i settled on having the crosshatch be a material function, the thing is 
The only way to have it appear in my PostProcess is to have it be in the subsurface channel, I split it into the red and green channels so i can control the vertical and horizontal lines independently:

I also divided it by 64 so my subsurface wouldn't appear all green


That node makes the scene look like this which i can use in my PostProcess:

After some calculations I get this:

Which I overlay onto my original scene to get this:


The obvious downside is that I can't use Subsurface scattering. so I'd like to know if it's possible to plug it into a custom output:

And have It read on on one of the SceneTexture PostProcessInputs:

I know PostProcessInput1 is for Emissives and PostProcessInput2 is sometimes for Bloom, So If I could just Put it in one of 2-6
If anyone knows a way I could Spare my subsurface output I'd really appreciate it. This effect looks great on dark scenes, but it's possible to see the subsurface color on really bright scenes, ruining the effect.

I tried figuring out how they made a similar crosshatch shader for borderlands 3, but I assume they wrote a lot of their own custom stuff for what they made.

Replies

Sign In or Register to comment.