找回密碼
 注冊帳號

掃一掃,訪問微社區

camera.onrenderimage 在渲染圖像之后

2015-1-4 04:17| 發布者: 楊炎| 查看: 3592| 評論: 0|原作者: 蠻牛|來自: unity3d腳本manual

摘要: camera.onrenderimage 在渲染圖像之后functiononrenderimage(source:rendertexture,destination:rendertexture) : voiddescription描述onrenderimage is called after all rendering is complete to render imagepos ...

camera.onrenderimage渲染圖像之后

functiononrenderimage(source:texture" target="_blank" class="relatedlink">rendertexture,destination:rendertexture) : void

description描述

onrenderimage is called after all rendering is complete to render image

postprocessing effects (unity pro only).

onrenderimage在所有渲染完成后被調用,來渲染圖片的后期處理效果(僅限unitypro)。

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 destination render 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.

這允許你使用基于shader的過濾器來處理最后的圖片,進入的圖片是source渲染紋理,結果是destination渲染紋理。當有鎖個圖片過濾器附加在相機上時,它們序列化的處理圖片,將第一個過濾器的目標作為下一個過濾器的源。

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

這個消息被發送到所有附加在相機上的腳本。

相關閱讀

文章點評
相關文章
极速时时彩开奖最快的网站