source | Source texture. |
dest | Destination RenderTexture, or null to blit directly to screen. |
mat | Material to use for copying. Material's shader should do some post-processing effect. |
offsets | Variable number of filtering offsets. Offsets are given in pixels. |
Copies source texture into destination, for multi-tap shader.
dest
to be active render texture, sets source
as
_MainTex
property on the material, and draws a full-screen quad. Each vertex of the quad
has multiple texture coordinates set up, offset by offsets
pixels.See Also: Graphics.Blit, image effects.