URP——后期处理特效——Panini投影Panini Projection

Panini Projection

这个效果可以帮助你在一个非常大的场景中渲染透视视图。Panini投影是一个圆柱形投影,这意味着它保持垂直的直线笔直和垂直。与其他圆柱形投影不同,Panini投影使穿过图像中心的放射线也保持直线。

有关panini投影的更多信息,请参阅PanoTools的wiki文档,其中介绍了General Panini Projection

Using Panini Projection

Panini投影使用体积框架,因此要启用和修改Panini投影属性,必须向场景中的体积添加一个Panini投影覆盖。将Panini投影添加到体积:

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

Properties

PropertyDescription
Distance

Use the slider to set the strength of the distortion.

使用滑块设置失真的强度。

Crop to Fit

Use the slider to crop the distortion to fit the screen. A value of 1 crops the distortion to the edge of the screen, but results in a loss of precision in the center if you set Distance to a high value.

使用滑块裁剪失真以适应屏幕。值为1会使屏幕边缘失真,但如果设置距离值较高,则会导致中心的精度损失。

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值