Unity Recorder 教學Author: Kelvin HuangUnity Recorder 是官方推出的 Unity 遊戲畫面錄影工具,可輸出影片檔、GIF 動畫、連續圖檔,適合製作遊戲動畫或宣傳影片。 開啟 Package Manager 搜尋 Unity Recorder 按下 Install 安裝。
從功能表 [ Window > General > Recorder > Recorder Window ] 開啟 Unity Recorder 視窗。
您可以選擇 Movie 錄製影片。 可設定錄影模式、輸出解析度等。
輸出透明背景的連續 PNG 圖檔原文網頁 [ https://discussions.unity.com/ ] 使用 2 台攝影機,第一台攝影機輸出到 Render Texture 第二台攝影機設定 Background 的 Alpha =0 新增 New Render Texture 設定 Color Format = R16G16B16A16_UNORM 新增第二台攝影機放在相同位置與拍攝角度,這是為了能夠即時檢視拍攝的畫面。 開啟 Unity Recorder 選擇 Image Sequence 設定 Source = Render Texture Asset 設定輸出尺寸與檔名路徑,按下 START RECORDING 輸出 PNG 圖片。 測試製作的影片 GoogleDrive [ UnityRecorder-Sample ]
使用 Unity Recorder 輸出 360 相片全景展示 [ http://www.3dxr.com.tw/360-Unity/360-demo.php?ID=POLYGON-Construction-Construction_City_Demo-01.JPG ] 原圖下載 [ http://www.3dxr.com.tw/360-Unity/pic-360/POLYGON-Construction-Construction_City_Demo-01.JPG ] ( 8192x8192px )
全景展示 [ http://www.3dxr.com.tw/360-Unity/360-demo.php?ID=POLYGON-Construction-Construction_City_Demo-02.JPG ] 原圖下載 [ http://www.3dxr.com.tw/360-Unity/pic-360/POLYGON-Construction-Construction_City_Demo-02.JPG ] ( 8192x8192px )
測試用 360 圖片 [ POLYGON-Construction-Stereo-4096x8192.png ] 測試用 360 圖片 [ POLYGON-Construction-Stereo-8192x8192.png ]
目前測試 Unity 2022.3.X 版本的 HDRP 專案使用 Unity Recorder 輸出 360 相片時,經常出現卡住或當掉退出的情況!待解決問題中… /Sh
|