This page has been translated automatically.
视频教程
界面
要领
高级
实用建议
专业(SIM)
UnigineEditor
界面概述
资源工作流程
Version Control
设置和首选项
项目开发
调整节点参数
Setting Up Materials
设置属性
照明
Sandworm
使用编辑器工具执行特定任务
如何擴展編輯器功能
嵌入式节点类型
Nodes
Objects
Effects
Decals
光源
Geodetics
World Nodes
Sound Objects
Pathfinding Objects
Players
编程
基本原理
搭建开发环境
使用范例
C++
C#
UnigineScript
UUSL (Unified UNIGINE Shader Language)
Plugins
File Formats
材质和着色器
Rebuilding the Engine Tools
GUI
双精度坐标
应用程序接口
Animations-Related Classes
Containers
Common Functionality
Controls-Related Classes
Engine-Related Classes
Filesystem Functionality
GUI-Related Classes
Math Functionality
Node-Related Classes
Objects-Related Classes
Networking Functionality
Pathfinding-Related Classes
Physics-Related Classes
Plugins-Related Classes
IG Plugin
CIGIConnector Plugin
Rendering-Related Classes
VR-Related Classes
创建内容
内容优化
材质
Material Nodes Library
Miscellaneous
Input
Math
Matrix
Textures
Art Samples
Tutorials

创建天气效果

创造大气效果本质上是一项艺术任务。您可以只使用UnigineEditor功能模拟不同的天气条件,除非您需要某种交互或复杂的平滑过渡。本文描述了在UNIGINE中创建这种效果的常用方法。

多云的天空#

大多数天气效果需要阴天 sky。在某些情况下,改变sky color就足够了,但是你也可以使用各种类型的clouds

雨滴和降雪#

Raindropssnow 效果是相似的,通常使用Particle Systems来模拟。

查看Art Samples演示的particles_rain_effect世界(art_samples > particles > particles_rain_effect世界)展示了雨的效果。你可以在UnigineEditor中打开它,看看它是如何制作的。出于优化目的,本示例通过脚本控制粒子系统与摄像机的连接,只在玩家周围的某些局部区域生成雨滴。

闪电#

Lightning可以用多种方式模拟;最常见的方法是发射Billboardmesh,这取决于所需的质量水平。要模拟随机发生的闪电,您可以为基于广告牌的粒子配置一个随机的周期,并使用包含不同闪电图像的纹理图集

一个更复杂的解决方案,包括着色器和编程,可能需要模拟高度详细的闪电如何影响场景照明。

#

要模拟 fog,请查看Environment Haze设置。这个特性非常适合用雾和浓雾来丰富场景,并支持高度依赖的密度。

风暴#

Stormy sea可以使用Global Water waves:您可以使用一组预定义的波福波与海状态之间的平滑过渡,或根据您的需要定制海浪。

Waves也可以通过 code来控制。SDK中包含的CPP Samples套件中的一组Water Global示例演示了如何使用c++ API在给定的点上控制Global Water获取水位,在与船或其他对象接触的点上模拟水花。

#

Wind是一个比较复合的效果;没有影响项目世界中所有内容的全局风设置。风效应可分为以下几个部分:

  1. Vegetation animation. There are several approaches to animate plants affected by wind requiring certain adjustments when modeling geometry. Check out these tutorials:

  2. Physical Wind affecting physical objects and particles with mass.
  3. 粉尘小飞行道具也可以通过粒子系统
  4. Storm at water and movement of clouds is done in the settings of these objects and their materials.

复杂的影响#

More complex effects like water droplets and streaks on the camera lens, splashes in puddles, screen frost, and windshield wiper effect require shader coding and are provided in the Weather Add-on available starting with the Engineering SDK (Windows only).

最新更新: 2022-12-23
Build: ()