【unity笔记】四、Enviro- Sky and Weather插件使用

一、 简介

Enviro内置 RP、URP、HDRP,开箱即用。

  • 动态天空

    随附的天空系统经过精心设计,以实现最佳性能和灵活性。使用多种颜色渐变,而不是调整人工数字。为您的项目创建独特且非常逼真的天空非常简单!

  • 灯光

    由 Enviro 控制的逼真且易于调整的照明将使您的场景栩栩如生。 Enviro 可以控制您的定向照明、环境照明和反射探头以获得最佳效果
    特别是在使用一天中的动态时间时。

  • 体积云

    Enviro 包括双层体积云系统。得益于时间重投影和 LOD
    系统,它提供了令人惊叹的视觉效果和出色的性能。它还支持与场景和屏幕空间云阴影的深度混合。

  • 雾和体积照明

    基于双层指数高度的雾系统非常适合那些视觉上令人惊叹的雾气甚至幽灵场景。它还支持来自太阳/月亮的体积照明来投射光线。点光源和聚光灯也会照亮雾!可以创建效果去除区域来去除不需要的区域的雾、雨和雪。

  • 天气系统

    Enviro 包括一个可选的基于预设的天气系统,支持生物群落区域。为各种独特的天气状态创建不同的预设,并通过一行代码平滑地更改为预设。

  • 北极光

    寒冷的夜晚需要一些北极光吗? Enviro 包含在天空着色器中渲染的美丽且可定制的极光效果。

  • 虚拟现实

    Enviro 支持内置和 URP 中的单通道实例化渲染 VR。

二、导入Enviro

  1. 将Enviro- Sky and Weather插件导入项目。
  2. 在场景下新建一个空对象,如我这里是Environment,再在Environment下设置一空对象,我这里命名为EnviroSkyManager。
  3. 为EnviroSkyManager对象添加组件Enviro Sky Mgr
  4. 确认项目中的渲染管线,在EnviroSkyManager检查器中设置Enviro Sky Mgr组件的Setup属性。
  5. Setup下的Render Pipeline中会自动识别当前项目渲染管线,不用管。
  6. 例如项目是HDRP渲染就在Standard Virsion下选择Create Standard Instance。如果项目不是HDRP渲染就在Lite Virsion下想选择Create Lite Instance实例。
  7. 最后在Instances下激活EnviroSky Standard即可(我这里用的HDRP,不知道如何使用HDRP的请查看往期内容)。
    在这里插入图片描述

三、 使用

在Instances中激活自己选择的实例后,会在项目中自动生成以下内容。红框内为自动生成的对象。
其中天气调节的部分都在EnviroSky Standard下的Enviro Sky中。
在这里插入图片描述

五、效果

在这里插入图片描述

插件名称:Enviro - Sky and Weather 2.0 Enviro - The complete dynamic AAA sky and weather solution! Very easy setup: Just drag-and drop into your scene and assign your main camera or use the runtime assignment features. Profile System: Enviro's new profile system makes tweaking your sky as easy as possible. Tweak settings in runtime and save to profile. Load profiles in design and runtime. Create different profiles for different scenes or share your configurations with other user. Day-Night cycle: Enviro supports a realistic day-night cycle. With correct sun and moon positions with full location support with latitude and longitude. You have options to use your system time or let enviro update time based on realtime minutes. Skybox: Enviro includes an advanced fast atmospheric skybox shader to get great looking skies! You got a lot of options to tweak the sky and even can setup funky alien skies! Lighting: Enviro will realisticly light your scene based on sun altitude. You have complete control over light intensity and color by modifying curves and gradients right in editor! You also can choose between different ambient light modes of course. Seasons: Enviro will change seasons and got a components to swap out gameobject, materials and textures of unity terrain. You are not limited to realistic settings! You can set the amount of days each season last. Clouds: Enviro new volumetric cloud system is based on latest cloud rendering papers. These will bring you sky to life and offer plenty options to customize. In addition there are also fast flat clouds options to mix or use for maximum performance. Fog: Need stunnishing looking fog? Enviro includes an advanced light scattering fog image effect with distance, height and sky fog support. Need fog on your transparent material? No problem, with only a few lines of code you could modify your own transparent shaders to be fogged correctly. And a few particle and transparent shaders already included to get you started! Volumetric Lighting: Need some volume light effects you see in AAA games? No problem, enviro support volumetric lihting for directional, point and spot lights out of the box! Weather: Enviro includes a very powerfull weather system. You can create your own weather types and drive light, sky, fog and clouds. Enviro supports all kind of unity shuriken particle effects to give you the freedom to create any weather effect you can think of. It includes 11 premade weather types including: Clear Sky, cloudy, raining, stormy, snowy and foggy weather. You can enable lightning storms and choose different ambient and weather sounds for each weather with smooth transitions. Networking: Enviro support UNet and Photon out of the box. It will synchronize time and weather with all your players. Enviro also got an minimal mode for headless servers to only calculate time and weather but nothing more. Virtual Reality: Enviro supports multi and singlepass stereoscopic rendering! Tested on Oculus Rift. (Attention: Singlepass currently only supported on Unity 2017+ !) That's not all! Enviro includes a lot more great features: * Event system for you game logic. * Weather Zones. Create as many zones with their own weather for your biomes. * Orbiting satellites. * Vegetation Growth. And you can use a lot of awesome 3rd-party assets right of the box with the included enviro components: * Gaia Compatible! * CTS Compatible! * AQUAS Integration! * FogVolume 3 Integration! * Playmaker Actions! * Relief Terrain Shader Integration! * UBER Shader Integration! * MegaSplat Shader Integration! * Lux Shader Integration! * Photon Network Integration! * Pegasus Integration! Requirements: * Support gamma and linear color space. * Support forward and deferred rendering. * Working on DX9, DX11, DX12, OpenGlCore, Metal and Vulkan. * Volumetric Lighting requires at least shader-model 3.5+ and will be deactivated on DX9 Current limitation: * Volumetric clouds are currently not suitable for fly-throughs! Will be worked on in later updates! WebGL Demo Forum Thread
Enviro - 完整的动态AAA天空和天气解决方案! 非常简单的设置: 只需拖放到您的场景中,分配您的主摄像头或使用运行时分配功能。 配置文件系统: Enviro的新配置文件系统可以尽可能简单地调整你的天空。在运行时调整设置并保存到配置文件。在设计和运行时加载配置文件。为不同的场景创建不同的配置文件或与其他用户共享您的配置。 日夜循环: Enviro支持逼真的夜间循环。具有正确的太阳和月亮位置以及全方位的经纬度支持。你可以选择使用你的系统时间,或根据实时分钟让enviro更新时间。 空中包厢: Enviro包括一个先进的快速大气天空箱着色器,以获得美丽的天空!你有很多选择来调整天空,甚至可以设置时髦的外星人的天空! 照明: Enviro会根据太阳高度真实地照亮您的场景。通过在编辑器中修改曲线和渐变,您可以完全控制光线强度和颜色!您当然也可以选择不同的环境光模式。 季节: Enviro将改变季节,并有一个组件来换取游戏对象,材料和团结地形的纹理。你不仅限于现实的设置!您可以设置每个赛季的最后天数。 云: Enviro新的容积云系统基于最新的云渲染论文。这些将带给你生命的天空,并提供丰富的选项来定制。此外,还有快速平坦的云层选项可以混合或使用,以实现最佳性能。 雾: 需要惊人的看起来雾?Enviro具有高级光散射雾影像效果,支持距离,高度和天空雾。您的透明材质需要雾?没问题,只需要几行代码就可以修改自己的透明着色器,使其正确模糊。并且已经包含一些粒子和透明着色器以帮助您开始! 体积照明: 需要在AAA游戏中看到一些音量灯光效果?没问题,enviro支持定向,点和射灯箱体积立体化! 天气: Enviro包括一个非常强大的天气系统。您可以创建自己的天气类型,并驱动光线,天空,雾和云。Enviro支持所有类型的统一shuriken粒子效果,使您可以自由创建任何您能想到的天气效果。它包括11种预制天气类型,包括:晴朗天空,多云,下雨,暴风雨,下雪和有雾的天气。您可以启用闪电风暴,并为每个天气选择不同的环境和天气声音,并进行平滑过渡。 网络: Enviro支持UNet和Photon开箱即用。它将与所有玩家同步时间和天气。Enviro还为无头服务器提供了最低限度的模式,只计算时间和天气,但仅此而已。 虚拟现实: Enviro支持多通道和单通道立体渲染!经过Oculus Rift测试。(注意:Singlepass目前仅支持Unity 2017+!) 这还不是全部!Enviro包含许多更好的功能: *游戏逻辑的事件系统。 *天气区。为您的生物群组创建与自己的天气一样多的区域。 *轨道卫星。 *植被生长。 资源名称: Sky and Weather v2.3.1(2020/10/4更新) 资源版本:v2.3.1 资源类型: .unitypackage 资源大小: 192 MB 支持版本:5.6.0及以上版本
Enviro - The complete dynamic AAA sky and weather solution! Very easy setup: The new manager component makes it easy as possible to setup enviro in your scenes. Includes Enviro Lite! This version includes Enviro Lite version aswell. Ideal for multi-platform projects: Use lite version for low end platform like mobiles and standard for pc and consoles. With one click you can switch between enviro versions. The centralized API for your own scripts will work for both versions of course. Profile System: Enviro's new profile system makes tweaking your sky as easy as possible. Tweak settings in runtime and save to profile. Load profiles in design and runtime. Create different profiles for different scenes or share your configurations with other user. Day-Night cycle: Enviro supports a realistic day-night cycle. With correct sun and moon positions with full location support with latitude and longitude. You have options to use your system time or let enviro update time based on realtime minutes. Skybox: Enviro includes an advanced fast atmospheric skybox shader to get great looking skies! You got a lot of options to tweak the sky and even can setup funky alien skies! Lighting: Enviro will realisticly light your scene based on sun altitude. You have complete control over light intensity and color by modifying curves and gradients right in editor! You also can choose between different ambient light modes of course. Seasons: Enviro will change seasons and got a components to swap out gameobject, materials and textures of unity terrain. You are not limited to realistic settings! You can set the start and end days of each season. Enviro also supports temperature simulation, based on season, time of day and current weather. Clouds: Enviro new raymarching cloud system is based on latest cloud rendering papers. These will bring you sky to life and offer plenty options to customize. Clouds performance is optimized by using techs like temporal reprojection and LOD system. In addition there are also fast flat and particle clouds options to mix or use for maximum performance. Fog: Need stunnishing looking fog? Enviro includes an advanced light scattering fog image effect with distance, height and sky fog support. Need fog on your transparent material? No problem, with only a few lines of code you could modify your own transparent shaders to be fogged correctly. And a few particle and transparent shaders already included to get you started! Weather: Enviro includes a very powerfull weather system. You can create your own weather types and drive light, sky, fog and clouds. Enviro supports all kind of unity shuriken particle effects to give you the freedom to create any weather effect you can think of. It includes 11 premade weather types including: Clear Sky, cloudy, raining, stormy, snowy and foggy weather. You can enable lightning storms and choose different ambient and weather sounds for each weather with smooth transitions. Volumetric Lighting: Need some volume light effects you see in AAA games? No problem, enviro support volumetric lighting for directional, point and spot lights out of the box! Scene View Effects: Preview enviro effects like clouds, volume lighting and fog directly while you work on your scenes. You can enable or disable scene view preview for each effect individual of course. Networking: Enviro support UNet, Mirror and Photon out of the box. It will synchronize time and weather with all your players. Enviro also got an minimal mode for headless servers to only calculate time and weather but nothing more. Virtual Reality: Enviro supports multi and singlepass stereoscopic rendering! Tested on Oculus Rift. That's not all! Enviro includes a lot more great features: * Event system for you game logic. * Weather Zones. Create as many zones with their own weather for your biomes. * Orbiting satellites. * Vegetation Growth. And you can use a lot of awesome 3rd-party assets right of the box. Activate and add 3rd-party support through the new interface. Again its easy and fast as possible! * Gaia Compatible! * CTS Compatible! * AQUAS Integration! * LUX Water Integration! * FogVolume 3 Integration! * Vegetation Studio Pro Integration! * Playmaker Actions! * Relief Terrain Shader Integration! * UBER Shader Integration! * MicroSplat Integration! * MegaSplat Shader Integration! * Lux Shader Integration! * Photon Network Integration! * Mirror Network Integration! * Pegasus Integration! Requirements: * Support gamma and linear color space. * Support forward and deferred rendering. * Working on DX9, DX11, DX12, OpenGlCore, Metal and Vulkan. * Volumetric Lighting requires at least shader-model 3.5+ and will be deactivated on DX9 Current limitation: * Volumetric clouds are currently not suitable for fly-throughs! Will be worked on in later updates!
评论 2
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值