Screen-space effects

Screen-space effects allow an application to manipulate the image produced by a Viewport. Using a ScreenSpaceEffectBuilder, the application supplies snippets of shader code that take the image as input and output a new image. This simple process can produce a wide variety of effects, and those effects can be chained such that the image output by one effect becomes the input to the next effect.

This sample demonstrates lens distortion, vignette, and saturation effects.

A camera with a wide field of view, with no screen-space effects applied:

Wide FOV

The same view as above, with a screen-space effect applied to simulate lens distortion:

Lens distortion

Last Updated: 30 December, 2021