MonoBehaviour.OnRenderImage 当渲染图片

function OnRenderImage () : void


OnRenderImage is called after all rendering is complete to render image


postprocessing effects (Unity Pro only).

后期效果处理(仅Unity Pro)。

It allows you to modify final image by processing it with shader based filters. The incoming image is source render texture. The result should end up in destinationrender texture. When there are multiple image filters attached to the camera, they process image sequentially, by passing first filter's destination as the source to the next filter.


This message is sent to all scripts attached to the camera.


Page last updated: 2011-1-2