I am using the same post process material for the main viewport and a scene capture component 2d render target. Works in viewport, not scene capture component 2d. Any ideas why?
The Pro SceneCapture2D plugin can solve the problem of not being able to use post-processing materials (including custom depth-stencil) in scene captures.