查看: 2642|回复: 0
打印 上一主题 下一主题

[Unity 组件参考手册]组件:图像特效脚本

[复制链接]
.    

3797

主题

11

听众

5万

积分

首席设计师

Rank: 8Rank: 8

纳金币
32328
精华
41

活跃会员 优秀版主 荣誉管理 论坛元老

跳转到指定楼层
楼主
发表于 2013-1-31 21:05:39 |只看该作者 |倒序浏览
This group handles all Render Texture-based fullscreen image postprocessing effects. They are only available with Unity Pro. They add a lot to the look and feel of your game without spending much time on artwork.该章节主要讲解所有的基于渲染纹理的全屏图像后期处理特效。这些特效只有在Unity Pro版本才能使用。它们可以给你的游戏带来大量的视觉感受,从而让你不再艺术创作中花费大量的时间。All image effects make use of Unity's OnRenderImage function which any MonoBehavior attached to a camera can overwrite to accomplish a wide range of custom effects.Unity中所有的图像特效都编写在OnRenderImage 函数中,这样,任何附加在照相机上的脚本都可以通过重写它在完成自定义的特效效果。Image effects can be&nbsp***cuted directly after the opaque pass or after opaque and transparent passes (default). The former behavior can very easily be acquired by adding the attribute ImageEffectOpaque to the OnRenderImage function of the effect in question. For an example of an effect doing this, have a look at the Edge Detection effect.图像特效可以在不透明渲染通道或透明与不透明渲染通道(默认情况)后直接执行。前者处理可以非常方便地通过将ImageEffectOpaque 属性加入到OnRenderImage函数中来达到效果。对于这种做法的例子,请看边缘检测特效。    Antialiasing (PostEffect) 抗锯齿特效(后期特效)
    Bloom and Lens Flares 泛光和镜头光晕特效
    Color Correction Curves 颜色校正曲线特效
    Contrast Enhance 对比度增强特效
    Crease 折皱特效(轮廓线)
    Depth of Field 3.4 景深特效
    Tonemapping 色调映射特效
    Edge Detect Effect Normals 法线的边缘检测特效
    Fisheye image effect 鱼眼图像特效
    Global Fog 全局雾化特效
    Sun Shafts 光线特效
    Tilt Shift 移轴特效
    Vignetting 渐晕特效
    Blur image effect 模糊图像特效
    Color Correction image effect 颜色校正图像特效
    Contrast Stretch image effect 对比度拉伸图像特效
    Edge Detection image effect 边缘检测图像特效
    Glow image effect 发光图像特效
    Grayscale image effect 灰度图像效果
    Motion Blur image effect 运动模糊图像特效
    Noise image effect 噪波图像特效
    Sepia Tone image effect 棕褐色调的图像特效
    Screen Space Ambient Occlusion (SSAO) image effect 屏幕空间的环境遮挡图像特效
    Twirl image effect 旋转图像特效
    Vortex image effect 涡流图像特效The scene used in above pages looks like this without any image effects applied:在没有使用上述图像特效的场景渲染效果如下:
Scene with no image postprocessing effects. 没有后期处理特效的场景。Multiple image effects can be "stacked" on the same camera. Just add them and it will work.可以"叠加"多个图像效果在相同的相机上:
Blur and Noise applied to the same camera. Yay for noisy blur!
在同样的照相机上应用模糊以及噪声特效。【来源:互联网】
更多精彩教程,尽在web3D纳金网http://www.narkii.com/college/
分享到: QQ好友和群QQ好友和群 腾讯微博腾讯微博 腾讯朋友腾讯朋友 微信微信
转播转播0 分享淘帖0 收藏收藏0 支持支持0 反对反对0
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

手机版|纳金网 ( 闽ICP备2021016425号-2/3

GMT+8, 2024-9-21 04:29 , Processed in 0.098800 second(s), 31 queries .

Powered by Discuz!-创意设计 X2.5

© 2008-2019 Narkii Inc.

回顶部