Vignette 渐晕 后期处理系列16

Vignette 渐晕

本文档主要是对Unity官方手册的个人理解与总结(其实以翻译记录为主:>)
仅作为个人学习使用,不得作为商业用途,欢迎转载,并请注明出处。
文章中涉及到的操作都是基于Unity2018.4版本
参考链接:https://github.com/Unity-Technologies/PostProcessing/wiki/Vignette

In Photography, vignetting is the term used for the darkening and/or desaturating towards the edges of an image compared to the center. This is usually caused by thick or stacked filters, secondary lenses, and improper lens hoods. It is also often used for artistic effect, such as to draw focus to the center of an image.
在摄影技术中,渐晕是一个术语,用来表示与图像中心相比,图像边缘处的色调变暗和/或饱和度降低。这通常是由于厚或堆叠过滤器,次要镜头,和不适当的镜头罩。它也经常用于艺术效果,如把焦点吸引到图像的中心。

在这里插入图片描述
The Vignette effect in the post-processing stack comes in 2 modes:
后处理堆栈中的渐晕效果有两种模式:

  • Classic 经典
  • Masked 蒙版

Requirements

  • Shader Model 3

See the Graphics Hardware Capabilities and Emulation page for further details and a list of compliant hardware.

Classic

Classic mode offers parametric controls for the position, shape and intensity of the Vignette. This is the most common way to use the effect.
经典模式提供渐晕参数控制:位置,形状和强度。这是最常用的使用效果的方法。
在这里插入图片描述

PropertyFunction
ColorVignette color.
CenterSets the vignette center point (screen center is [0.5,0.5]).
中心渐晕中心点的位置,默认为屏幕中心
IntensityAmount of vignetting on screen.
强度渐晕的强度
SmoothnessSmoothness of the vignette borders.
平滑度渐晕边框的平滑度。
RoundnessLower values will make a more squared vignette.
圆度较低的值将使渐晕的轮廓变得更加平方。
RoundedShould the vignette be perfectly round or be dependent on the current aspect ratio?
圆形渐晕应该是完全圆形的还是依赖于当前的宽高比?,默认依赖宽高比

Masked

Masked mode multiplies a custom texture mask over the screen to create a Vignette effect. This mode can be used to achieve less common or irregular vignetting effects.
蒙版模式是在屏幕上覆盖(相乘)一个自定义纹理蒙版,以创建一个渐晕效果。此模式可用于实现不太常见或不规则的渐晕效果。

在这里插入图片描述

PropertyFunction
ColorVignette color. Use the alpha channel for transparency.
颜色渐晕颜色。alpha通道代表透明度
MaskA black and white mask to use as a vignette.
蒙版一种用作渐晕的黑白蒙版
opacityMask opacity.
不透明蒙版的不透明程度


本文来自互联网用户投稿,文章观点仅代表作者本人,不代表本站立场,不承担相关法律责任。如若转载,请注明出处。 如若内容造成侵权/违法违规/事实不符,请点击【内容举报】进行投诉反馈!

相关文章

立即
投稿

微信公众账号

微信扫一扫加关注

返回
顶部