Is there a way to implement Outline/Highlight/Silhouette effect on mobile?
I can use "Render Custom Depth" on a character and use a PostProcess Material to implement outline effect, but the problem is the SceneTexture node in Material Editor doesn't support on mobile, so I'm looking for other ways to implement this feature on mobile. Thanks.
A dated way of doing it is by rendering the mesh multiple times (multi-pass). You render the mesh once the way you want it and the second time you render it inside out (front face culling). Then you make the mesh slightly bigger in the vertex program and voilà, you got yourself an outline. Main problems are that UE4 does not support multi-pass materials, you have to duplicate the mesh manually or in script, and apply the outline material to the second mesh. The other issue is that you can't do front face culling in the material editor. However, a hacky solution would be to render the mesh double sided and using the two sided sign node to mask the front face.
I'm currently on mobile, so can't make any examples, but if you can't get it to work, let me know.
Follow this question
Once you sign in you will be able to subscribe for any updates here