Weather Maker, (c) 2016 Digital Ruby, LLC
http://www.digitalruby.com
Created by Jeff Johnson
Version 1.1.2
Change Log:
1.1.2 - Fixes for particle emission : each precipitation has a new emission rate property that is multiplied by intensity
1.1.1 - Small bug fix to 2D particle collisions
Toggle the configuration panel with Ctrl-`
1.1 - Added day / night cycle with time of day, and sun texture
1.0 - Initial Release
Welcome to Weather Maker! I'm Jeff Johnson, and I've spent hundreds of hours on this asset. This is just the first version and I realize it may not be perfect, may have bugs or pieces missing that you would like. Please send me your suggestions, feedback and bug reports to support@digitalruby.com.
Roadmap:
- More documentation and tutorial videos :)
- Procedural sun overlay on sky sphere
- Procedural sky sphere coloring
- Other celestial objects (moon, etc.)
Weather Maker is a complete weather solution for Unity. I've created precipitation, lightning, clouds, wind and sound effects. I've even added a sky sphere for picture perfect back drops.
Setup Instructions:
- Drag WeatherMakerPrefab (or for a 2D game, WeatherMakerPrefab2D) into your scene at the root of the hierarchy.
- For 3D, set your main camera far plane to 10000+. This is for clouds and lightning.
- For 3D, if you will be using the built in sky sphere, turn off the Unity skybox on your main camera and in lighting settings.
- Set ambient intensity to 0 for the best night effects.
- Create your own custom script, add a "using DigitalRuby.WeatherMaker" and add a property of "public WeatherMakerScript WeatherScript;" and assign the reference to the script in the inspector.
- You can now use your own script to manipulate the Weather Maker script. See WeatherMakerConfigurationScript.cs for an example of how to do this.
*** IMPORTANT ***
Weather Maker contains a built in GUI to get you started. This GUI lets you control every aspect of the asset. For your final release, you'll want to disable the ConfigurationCanvas object in the WeatherMakerPrefab object, and disable the WeatherMakerConfiguration script on the WeatherMakerPrefab object.
During play mode on a device with a keyboard, Ctrl+` will toggle the configuration panel visibility.
WeatherMakerScript Properties:
- Anchor: The object the weather, sky sphere, etc. should follow. Defaults to the main camera.
- Rain: The rain prefab.
- Snow: The snow prefab.
- Hail: The hail prefab.
- Sleet: The sleet prefab.
- Clouds: The clouds prefab.
- Sky Sphere: The sky sphere prefab.
- Wind: The wind prefab.
- Collision Enabled: Should particles collide with the world?
- Wind Enabled: Turn the wind on or off.
- Sun: The sun.
- Lightning Script: Script for the lightning.
- Precipitation Intensity: Control this value from your script (0 - 1) to set the current precipitation intensity.
- CurrentPrecipitation: Set the current precipitation to null, or one of 4 properties: RainScript, SnowScript, HailScript, SleetScript.
- Precipitation Change Duration: How long it takes to transition / cross fade from one precipitation to another.
- Precipitation Change Threshold: Precipitation changes in intensity must be greater than this value to cross fade, otherwise they happen instantly.
Precipitation
--------------------------------------------------
Weather Maker comes with 4 precipitation prefabs: Rain, snow, hail and sleet. Each are very similar in their setup, but contain different material, textures and parameters.
All the precipitation use WeatherMakerFallingParticleScript. Each has the concept of four stages: none, light, medium and heavy.
Properties:
- Loop Source Light, Medium and Heavy: The audio source to play as the prefab changes to different stages. Each sound fades in and out nicely.
- Sound Intensity Threshold: Change at what point the intensity will go to a new stage. Intensity of 0 is always the none stage.
- Intensity: Change the overall intensity of the precipitation.
- Intensity Multiplier: Change the intensity even more - watch out for performance problems if you go above 1.
- Mist Intensity Multiplier: Make the mist less or more intense - again watch out for performance problems if you go above 1.
- Particle System: The down-pour particle system.
- Mist Particle System: The mist particle system.
- Explosion Particle System: Only used in 2D. For 3D, the explosion particle system is a child object of the particle system.
- Mist Threshold: Once the intensity gets higher than this, mist starts to appear.
3D Properties:
- Height: The down-pour particles will start at this height from the camera.
- Forward Offset: Offset the particle system this many world units behind the camera.
- Mist Height: How high the mist will start falling from.
- For collisions, the weather maker prefab itself has a collisions property.
2D Properties:
- Camera: The camera to show the particles in. Used to scale depending on the orthographic size.
- Height Multiplier: Particles will start at y value of the screen height + (world height * value). A value of 0.15 would make the particles start 15% higher than the screen height.
- Width Multiplier: The particle field will be this much wider than the screen width.
- Collision Mask: What should the particles collide with? The weather maker prefab can control this value globally so don't change this.
- Collision Life Time: About how long particle should live when they collide.
- Explosion Emission Life Time Maximum: When particles collide and have a life time higher than this value, they may emit an explosion.
- Mist Collision Velocity Multiplier: The mist speed is multiplied by this value whenever it collides with something.
- Mist Collision Life Time Multiplier: The mist life time is multiplied by this value whenever it collides with something.
WeatherWindZonePrefab
--------------------------------------------------
This allows wind to randomly blow in your scene, which will affect the rain, snow, mist, etc. Disable if you don't want wind.
Properties:
- Camera: The camera the wind is being created near. Defaults to main camera.
- Loop Source Wind: The looping audio source for the wind.
- Wind Sound Volume Modifier: Raise or lower the wind volume.
- Wind Zone: The Unity wind zone.
- Wind Speed Range: X = Minimum Wind Speed, Y = Maximum Wind Speed, Z = Wind Volume Modifier. Volume = Z / WindSpeed.
- Wind Change Interval: Minimum and maximum random range to change wind speed.
- Allow Blow Up: Can wind blow in the Y direction? Leave off generally.
Sun
--------------------------------------------------
The weather maker prefab contains a Sun object for your convenience. Delete your other directional lights. If you must use your own directional light, disable the Sun object and re-assign all the Sun references in the prefab to your own directional light.
TimeOfDay property is available on WeatherMakerScript.
Clouds
--------------------------------------------------
- Located in WeatherMakerPrefab/Clouds (WeatherMakerCloudScript)
Clouds work differently in 3D compared to 2D. In 3D mode, the clouds are created in a dome shape. In 2D mode, a simple particle system is used to create the clouds. 2D clouds shouldn't need much tweaking. There is a particle system inside the cloud prefab that you can tweak if the clouds don't look exactly how you want.
3D clouds are a little more complicated, so here is how they work:
Properties:
- Material: The cloud material. Usually just leave this to default.
- Material Texture: Allows changing the texture of the clouds. I've included several cloud sprite sheets that you can use (WeatherMaker/Prefab/Textures/Clouds)
- Material Mask Texture: 3D mode only. Can make the clouds softer.
- Tint Color: Change the overall color of the clouds.
- Material Rows: Number of rows in the texture.
- Material Columns: Number of columns in the texture.
- Anchor Clouds:
没有合适的资源?快使用搜索试试~ 我知道了~
资源推荐
资源详情
资源评论
收起资源包目录
unity天气系统插件 (318个子文件)
DemoTerrain.asset 2.38MB
WeatherMakerShader.cginc 4KB
WeatherMakerLightningBoltScript.cs 67KB
WeatherMakerTweenScript.cs 27KB
WeatherMakerSphereCreator.cs 18KB
WeatherMakerCloudScript3D.cs 16KB
WeatherMakerLightningGenerator.cs 13KB
WeatherMakerLightningBoltPrefabScript.cs 12KB
WeatherMakerThunderAndLightningScript.cs 11KB
WeatherMakerFallingParticleScript.cs 11KB
WeatherMakerFallingParticleScript2D.cs 9KB
WeatherMakerScript.cs 8KB
WeatherMakerConfigurationScript.cs 8KB
WeatherMakerSkySphereScript.cs 6KB
WeatherMakerEditorUtility.cs 5KB
WeatherMakerLoopingAudioSource.cs 5KB
WeatherMakerCloudScript.cs 4KB
WeatherMakerThunderAndLightningScript3D.cs 4KB
WeatherMakerLightningBoltEditor.cs 4KB
WeatherMakerWindScript.cs 4KB
WeatherMakerDayNightCycleScript.cs 3KB
WeatherMakerThunderAndLightningScript2D.cs 3KB
WeatherMakerFallingParticleScript3D.cs 3KB
WeatherMakerCloudScript2D.cs 2KB
WeatherMakerParticleCollisionScript.cs 2KB
DemoScript2D.cs 1KB
WeatherMakerBillboardScript.cs 557B
Groundplants0135_5_S_NRM.jpg 1.08MB
Cliff1NormalMap.JPG 781KB
Cliff1.JPG 523KB
Grass0146_5_S.jpg 507KB
Groundplants0135_5_S.jpg 506KB
WeatherMakerRainMaterial.mat 4KB
WeatherMakerCloudDomeMaterial.mat 4KB
TerrainMaterial.mat 3KB
WeatherMakerLightningBoltMaterial.mat 3KB
MountainSkyboxMaterial.mat 3KB
WeatherMakerSkySphereMaterial.mat 3KB
WeatherMakerRainMistMaterial.mat 2KB
WeatherMakerCloudMaterial2D.mat 2KB
WeatherMakerSpriteDiffuse.mat 2KB
WeatherMakerRainMistMaterial2D.mat 2KB
WeatherMakerRainMaterial2D.mat 2KB
WeatherMakerSleetMistMaterial.mat 2KB
WeatherMakerSleetMistMaterial2D.mat 2KB
WeatherMakerHailMistMaterial.mat 2KB
WeatherMakerSnowMistMaterial.mat 2KB
WeatherMakerSnowMistMaterial2D.mat 2KB
WeatherMakerHailMistMaterial2D.mat 2KB
WeatherMakerSleetMaterial2D.mat 2KB
WeatherMakerSnowMaterial2D.mat 2KB
WeatherMakerHailMaterial2D.mat 2KB
WeatherMakerSleetMaterial.mat 2KB
WeatherMakerHailMaterial.mat 2KB
WeatherMakerSnowMaterial.mat 2KB
WeatherMakerSkyBoxMaterial.mat 2KB
WeatherMakerLightningOriginMaterial.mat 2KB
WeatherMakerSunMaterial.mat 2KB
WeatherMakerUVTestMaterial.mat 2KB
GrassRockMaterial.mat 2KB
CliffMaterial.mat 2KB
WeatherMakerLightningBoltMaterialNoGlow.mat 1KB
WeatherMakerHailStonesSpriteSheet1.png.meta 16KB
WeatherMakerThunderIntense1.mp3.meta 2KB
WeatherMakerThunderIntense2.mp3.meta 2KB
WeatherMakerThunder5.mp3.meta 2KB
WeatherMakerThunder4.mp3.meta 2KB
WeatherMakerThunderIntense4.mp3.meta 2KB
WeatherMakerThunder1.mp3.meta 2KB
WeatherMakerThunder3.mp3.meta 2KB
WeatherMakerThunder9.mp3.meta 2KB
WeatherMakerThunder6.mp3.meta 2KB
WeatherMakerThunder10.mp3.meta 2KB
WeatherMakerThunder8.mp3.meta 2KB
WeatherMakerThunderIntense7.mp3.meta 2KB
WeatherMakerThunderIntense5.mp3.meta 2KB
WeatherMakerThunder7.mp3.meta 2KB
WeatherMakerThunderIntense3.mp3.meta 2KB
WeatherMakerThunder2.mp3.meta 2KB
WeatherMakerThunderIntense6.mp3.meta 2KB
WeatherMakerSmokeTexture.png.meta 2KB
WeatherMakerWind1.ogg.meta 2KB
WeatherMakerSkySphereFishEyeDay1.png.meta 1KB
WeatherMakerSun1.png.meta 1KB
WeatherMakerSkySphereSphereDay2.png.meta 1KB
WeatherMakerSkySphereSphereDay1.png.meta 1KB
WeatherMakerCloudSpriteSheet2.png.meta 1KB
MountainSkyboxFront.tga.meta 1KB
MountainSkyboxRight.tga.meta 1KB
MountainSkyboxDown.tga.meta 1KB
MountainSkyboxUp.tga.meta 1KB
Cliff1.JPG.meta 1KB
MountainSkyboxLeft.tga.meta 1KB
MountainSkyboxBack.tga.meta 1KB
WeatherMakerSkySphereDoubleDomeNight1.png.meta 1KB
WeatherMakerSkySphereDoubleDomeDay1.png.meta 1KB
Cliff1NormalMap.JPG.meta 1KB
WeatherMakerSoftCircleMaskSoftest.png.meta 1KB
WeatherMakerSoftCircleMaskSofter.png.meta 1KB
WeatherMakerSkySpherePanoramaDusk2.png.meta 1KB
共 318 条
- 1
- 2
- 3
- 4
redarmy3
- 粉丝: 2
- 资源: 3
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功
- 1
- 2
前往页