How to use the Previous Frame Switch node?
It's a new node in 4.15, but I can't find any info on how to use it. Here is a video that shows the effect (less blur caused by Temporal AA, when passing parameters from blueprints): https://www.youtube.com/watch?v=YbjqiNZr4K4
You can also read more about this in the 4.15 release notes: https://www.unrealengine.com/blog/unreal-engine-4-15-released
The node has two inputs. What should I plug into them, and where should I plug the output? Thanks!
In the essence, the node allows you separate node networks in material editor, depending on if it is being compiled for present or previous frame.
You would plug that into world position offset, and use your typical WPO animation for Current frame, while adding some compensatory value to the this animation for Previous frame. To get rid of temporal blurring, you might want WPO for previous frame to appear the same, as for Current frame. Thus if you are using something simple for WPO, like sin(Time)*VertexNormal, for previous frame it should be sin(Time+FrameTime)*VertexNormal, where frame time should be supplied as parameter from blueprints/code.
Follow this question
Once you sign in you will be able to subscribe for any updates here