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

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

[复制链接]
.    

3797

主题

11

听众

5万

积分

首席设计师

Rank: 8Rank: 8

纳金币
32328
精华
41

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

跳转到指定楼层
楼主
发表于 2013-1-31 21:30:25 |只看该作者 |倒序浏览
The Global Fog image effect creates camera-based exponential fog. All calculations are done in world space which makes it possible to have height-based fog modes that can be used for sophisticated effects (see example).全局雾图像效果可以创建基于相机的渐变雾。所有的计算均在世界空间内完成,从而有可能创建出更加复杂的基于高度雾模式的效果。
Example of global fog, demonstrating both distance and height based fog
基于距离与高度的全局雾效例子
Example of "cheating" at atmospheric effects using global fog
使用全局雾效的大气效果As with the other image effects, this effect is only available in Unity Pro and you must have the Pro Standard Assets installed before it becomes available.和其他图像特效一样,该特效只能在Unity Pro上进行使用,并且在使用之前必须安装Pro Standard Assets。-----------------------------------------------------------------------
[Properties 属性]    Fog Mode 雾模式
    The available types of fog, based on distance, height or both
    雾的类型,基于距离、高度或两者皆有 。
    Start Distance 开始距离
    The distance at which the fog starts fading in, in world space units.
    雾效开始退化的距离,单位是世界空间单位。
    Global Density 全局密度
    The degree to which the Fog Color accumulates with distance.
    在一定距离雾气积累的程度。
    Height Scale 高度尺度
    The degree to which the fog density reduces with height (when height-based fog is enabled).
    雾浓度随高度减少的程度(当使用基于高度的雾效时开启)。
    Height 高度
    The world space Y coordinate where fog starts to fade in.
    雾效开始退化的世界空间高度。
    Global Fog Color 全局雾颜色
    The color of the fog. 雾的颜色。-----------------------------------------------------------------------[Hardware support 硬件支持] This effect requires a graphics card with pixel shaders (2.0) or OpenGL ES 2.0. Additionally, depth texture support is required. PC: NVIDIA cards since 2004 (GeForce 6), AMD cards since 2004 (Radeon 9500), Intel cards since 2006 (GMA X3000); Mobile: OpenGL ES 2.0 with depth texture support; Consoles: Xbox 360, ps3.这个特效需要显卡拥有像素着色器(2.0)或者OpenGL ES 2.0。台式机:2003年以后的NVIDIA显卡(GeForce 6),2004年以后的AMD显卡(Radeon 9500),2005年以后的Intel卡(GMA X3000);移动设备:OpenGL ES 2.0;控制台: Xbox 360、 PS3。All image effects automatically disable themselves when they can not&nbsp***n on end-users graphics card.所有图像特效如果无法在用户显卡上运行时将会自动被关闭。
【来源:互联网】
更多精彩教程,尽在web3D纳金网http://www.narkii.com/college/
分享到: QQ好友和群QQ好友和群 腾讯微博腾讯微博 腾讯朋友腾讯朋友 微信微信
转播转播0 分享淘帖0 收藏收藏0 支持支持0 反对反对0
回复

使用道具 举报

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

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

GMT+8, 2024-9-20 13:37 , Processed in 0.086994 second(s), 32 queries .

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

© 2008-2019 Narkii Inc.

回顶部