Lens Distortion 透镜扭曲 后期处理系列15

本文档深入探讨Unity中Lens Distortion效果,模拟透镜扭曲以增强图像真实感。主要介绍该效果的工作原理,适用于Unity 2018.4版本。需要注意的是,此效果不支持AR/VR场景,且要求Shader Model 3及兼容硬件。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

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

PropertyFunction
IntensityTotal distortion amount.
强度总扭曲的数量。
X MultiplierIntensity multiplier on X axis. Set it to 0 to disable distortion on this axis.
X 放大器X轴的强度放大器。0为关闭扭曲
Y MultiplierIntensity multiplier on Y axis. Set it to 0 to disable distortion on this axis.
Y 放大器Y轴的强度放大器。0为关闭扭曲
Center XDistortion center point (X axis).
X中心扭曲中心点(X轴)。
Center YDistortion center point (Y axis).
Y中心扭曲中心点(Y轴)。
ScaleGlobal 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.

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值