URP——后期处理特效——晕光Vignette

Vignette

在摄影中,晕光是指图像边缘相对于中心的变暗和/或去饱和度。在现实生活中,过多的滤镜、副镜头和不合适的镜头罩通常是造成这种效果的原因。您可以使用vignetting绘制焦点到图像的中心。

Using Vignette

Vignette使用体积系统,因此要启用和修改Vignette属性,您必须向场景中的体积中添加一个Vignette覆盖。

添加晕光到体积:

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

Properties

PropertyDescription
Color

Use the color picker to set the color of the vignette.

使用颜色选择器设置晕光的颜色。

Center

Set the vignette center point. For reference, the screen center is [0.5, 0.5].

设置晕光中心点。供参考,屏幕中心为[0.5,0.5]。

Intensity

Set the strength of the vignette effect.

设置晕光效果的强度。

Smoothness

Use the slider to set the smoothness of the vignette borders. Values range between 0.01 and 1. The higher the value, the smoother the vignette border. The default value is 0.2.

使用滑块设置晕光边框的平滑度。值的范围在0.01和1之间。值越高,晕线边界越平滑。默认值是0.2。

Rounded

When enabled, the vignette is perfectly round. When disabled, the vignette matches the shape on the current aspect ratio.

当启用时,晕光是完美的圆形。禁用后,晕光将与当前宽高比上的形状匹配。

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值