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

讯享网
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.
经典模式提供渐晕参数控制:位置,形状和强度。这是最常用的使用效果的方法。

| Property | Function |
|---|---|
| Color | Vignette color. |
| Center | Sets the vignette center point (screen center is [0.5,0.5]). |
| 中心 | 渐晕中心点的位置,默认为屏幕中心 |
| Intensity | Amount of vignetting on screen. |
| 强度 | 渐晕的强度 |
| Smoothness | Smoothness of the vignette borders. |
| 平滑度 | 渐晕边框的平滑度。 |
| Roundness | Lower values will make a more squared vignette. |
| 圆度 | 较低的值将使渐晕的轮廓变得更加平方。 |
| Rounded | Should the vignette be perfectly round or be dependent on the current aspect ratio? |
| 圆形 | 渐晕应该是完全圆形的还是依赖于当前的宽高比?,默认依赖宽高比 |
Masked

| Property | Function |
|---|---|
| Color | Vignette color. Use the alpha channel for transparency. |
| 颜色 | 渐晕颜色。alpha通道代表透明度 |
| Mask | A black and white mask to use as a vignette. |
| 蒙版 | 一种用作渐晕的黑白蒙版 |
| opacity | Mask opacity. |
| 不透明 | 蒙版的不透明程度 |
版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容,请联系我们,一经查实,本站将立刻删除。
如需转载请保留出处:https://51itzy.com/kjqy/103175.html