Lens Distortion 透鏡扭曲
本文檔主要是對Unity官方手冊的個人理解與總結(其實以翻譯記錄爲主:>)
僅作爲個人學習使用,不得作爲商業用途,歡迎轉載,並請註明出處。
文章中涉及到的操作都是基於Unity2018.4版本
參考鏈接:https://github.com/Unity-Technologies/PostProcessing/wiki/Lens-Distortion
This effect simulates the shape of a lens by distorting or undistorting the final rendered picture.
這種效果通過扭曲或不扭曲最終渲染的圖片來模擬透鏡的形狀。
Properties
Property | Function |
---|---|
Intensity | Total distortion amount. |
強度 | 總扭曲的數量。 |
X Multiplier | Intensity multiplier on X axis. Set it to 0 to disable distortion on this axis. |
X 放大器 | X軸的強度放大器。0爲關閉扭曲 |
Y Multiplier | Intensity multiplier on Y axis. Set it to 0 to disable distortion on this axis. |
Y 放大器 | Y軸的強度放大器。0爲關閉扭曲 |
Center X | Distortion center point (X axis). |
X中心 | 扭曲中心點(X軸)。 |
Center Y | Distortion center point (Y axis). |
Y中心 | 扭曲中心點(Y軸)。 |
Scale | Global screen scaling. |
縮放 | 全局屏幕縮放 |
Known issues and limitations 已知的問題和限制
- Lens distortion doesn’t support AR/VR. 不支持AR/VR
Requirements
- Shader Model 3
See the Graphics Hardware Capabilities and Emulation page for further details and a list of compliant hardware.