unity3d 获取全局变量全局雾怎么实现的

包含9节视频教程
关注12.1万次
这是临摹的终极表现!在临摹领域达到真实照片的级别,让你的绘画让别人惊呼吧!这不是照片,真的是绘画出来的。我们一起来学习吧!
Unity组件:Global Fog 全局雾
关注:878 留言:0 楼主: 发帖时间:15年11月16日
性别 男年龄 18积分 86登陆 1发帖 1留言 2作品 2
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 dep 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 run on end-users graphics card. 所有图像特效如果无法在用户显卡上运行时将会自动被关闭。
朱峰社区编辑推荐
我们这节课将要把法师的近战特效制作完成了,相信…
朱峰社区 版权所有 闽ICP备号
ZhuFeng Community All Rights Reserved
1.复制文本发给您的QQ好友或群、微信等;好友点击链接以后,转发就成功了。
2.如朋友点击您的链接,您需要需刷新一下才行;同一个好友仅能点击一次。&鍔犺浇涓

我要回帖

更多关于 unity3d全局地图制作 的文章

 

随机推荐