Unity 2019.4.12f
To create a without some functions must be added to the unity render, in this case, I use the Universal render pipeline
- In the universal render pipeline we are going to add a Render Object (experimental)
In the name part, we add the name we want as required
- We create a layer for the object, in this case, the without is for the character
- We do not add this layer where it says Filters in layer mask, within the render features
- In the Overrides section, we must add a material, which will be the one that represents the without, create a material and add it to Overrides / material, in the Depth part, we deactivate the write depth
- We add another Render Object (Experimental), and we assign the name of #NAME_Front, and we add the layer in the Filters section layer mask, in this case, I add player
- Create the shader graph: We create a shader graph of type unlit graph and assign it to the material created previously
- Finally, we add the layer to the object "Character", and this would be the final result