URP——后期处理特效——运动模糊Motion Blur

Motion Blur

运动模糊效果模拟了真实相机拍摄物体运动速度快于曝光时间时图像中出现的模糊。这通常是由于物体快速移动,或曝光时间过长所致。

通用渲染管道(URP)只模糊摄像机的运动。

Using Motion Blur

运动模糊使用了体积系统,所以要启用和修改运动模糊属性,你必须添加一个运动模糊覆盖到你的场景中的体积。为体积​​​​​​​添加运动模糊:

  1. 在场景或层次视图中,选择一个包含体积组件的游戏对象,在检查器中查看它。
  2. 在检查器中,导航到Add Override > Post-processing然后点击Motion Blur动态模糊。URP现在应用运动模糊到这个体积影响的任何相机。

Properties

PropertyDescription
Quality

Set the quality of the effect. Lower presets give better performance, but at a lower visual quality.

设置效果的质量。较低的预置可以提供更好的性能,但只有较低的视觉质量。

Intensity

Set the strength of the motion blur filter to a value from 0 to 1. Higher values give a stronger blur effect, but can cause lower performance, depending on the Clamp parameter.

将运动模糊滤镜的强度设置为0到1。较高的值会产生较强的模糊效果,但会导致较低的性能,这取决于箝位参数。

Clamp

Set the maximum length that the velocity resulting from Camera rotation can have. This limits the blur at high velocity, to avoid excessive performance costs. The value is measured as a fraction of the screen's full resolution. The value range is 0 to 0.2. The default value is 0.05.

设置相机旋转产生的速度的最大长度。这限制了高速模糊,以避免过多的性能成本。这个值是作为屏幕全分辨率的一部分来测量的。值的范围是0到0.2。默认值是0.05。

Troubleshooting performance issues

为了减少运动模糊的性能影响,你可以:

  1. 降低质量。低质量的设置可以提供更高的性能,但可能会显示更多的视觉工件。
  2. 减小Clamp 以降低Unity所考虑的最大速度。值越低,性能越好。
  • 0
    点赞
  • 2
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值