Cannot use same post process material at once.

Hello,
I’m currently applying Outline Post Process Material to my level.

What i want to do is to apply outline’s size separately.
0.3 to BackGround level, and 0.7 to my character, using Custom Stencil in GBuffer.

However, it seems that is not possible.
When i set BackGround’s post process material, it goes correctly. But when i set Character’s post process material after that, it just overwrites the pre-applied post process material. So that Background’s outline is set to Zero. (Cuz it has not the same custom stencil value)

Is it possible to set same post process material seperately?


Here is how i set PostProcessVolume :






Material Graph

If the character and everything are using different custom stencil values, I think that would do it, or what about making the thickness dependent on camera distance?

1 Like

Thanks for the reply !!
And yes i’m using different value for custom stencil.
0 (default) for Background Objects, and 1 for Character. But it seems to overwrite the pre-applied post process material regardless of stencil value. :sob:

And yes again, the falloff and dist are declared in material graph.

I compromised by just using the same outline thickness and applying another outline material in addition. But still curious.

Yes, different stencils, but do it all in one material.

Btw, it looks really nice :slight_smile:

This vid covers it, I think

1 Like