Multi-Pass shaders in UE4

Hi,
I am rather new to UE4, comming from Unity.
How do I make multi-pass shaders? I can’t find any option for this in material editor.
Thanks!

Currently the only method is to make a duplicate of your mesh and assign a different material to it. For skeletal meshes, you can use the set master pose component function to make them share a single skeleton.

1 Like

What kind of effect you need to make?

You can use a Draw Material to Render Target node and pass a Render Target as a Texture Parameter to a Dynamic Material Instance. Then you can draw the Dynamic Material Instance to another Render Target, etc, etc. See this project for an example. It alternates between two 512x512 render targets to simulate any 2 state Moore neighborhood cellular automata in a material.