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.