@SimonTheSorcerer said:
@SIsilicon28 is there an example of how to achieve this? Can I use a shader's previous output as input in e.g. the VisualShader?
You can indeed feed a shader's previous output into itself. You'll need at least two viewports to achieve that though, hence the ping-ponging. Something like this.
Main
- Viewport
- - ColorRect(does the shading)
- Viewport2
- - ColorRect(same thing)
The second Viewport uses the first viewport's texture when rendering and vice versa. On the first frame the first viewport needs to be initialized. After which all it needs to do is use the second viewport's texture.