UniSky implemented in the island example project
Hey guys - just wanted to let you all know that UniSky, our procedural sky tool, is now available on the Asset Store.
It costs $100 USD ($125 where VAT applies) and includes all future updates. This tool is functional with Unity Indie as well as Unity Pro but in Unity Indie the illumination (3d shading) is disabled due to its usage of render targets.
* 24 hour day/night cycle with sun, moon and stars
* Atmospheric scattering for realistic sky colors at any time of day
* Dynamic directional light color and positioning for the sun and moon
* Procedural 2D cloud animation with dynamic 3D lighting and shading
* Parameterized cloud cover, precipitation level, atmospheric scattering, glow, wind direction/speed and colors
* Highly optimised and runs almost entirely on the GPU
To clarify, the clouds are not volumetric and so are not "fly-through" - this was decided because volumetric clouds usually cost more performance-wise than they are worth. Dynamic 3D lighting is implemented to achieve a similar 3D look without the overhead of polygonal clouds.
For more screenshots, visit the website at: http://www.sixtimesnothing.com/unisky/
To watch a brief video: http://www.youtube.com/watch?v=VMM6tfgviS8
You can also view a tutorial video here: http://www.youtube.com/watch?v=rjHJBwNs2pw
Edit - Added a video with our custom sun shaft effect that will be included with the upcoming weather release: http://www.youtube.com/watch?v=-iFOl_RZgMY
Thanks and good luck on your projects!
Last edited by Chris Morris; 01-20-2011 at 05:59 PM.
Hmm looks like the same implementation as mine .. nice stuff!
based on rayleigh/mie ?
UV Editor : http://u3d.as/content/pixelstudio/uv-editor/2xP
Vertex painter : http://u3d.as/content/pixelstudio/si...ex-painter/2wo
Is it compatible with the Unity built-in lens flare effect for a Directional light?
Also, I need the clouds to be "fly-through" so, are you going to include this in near updates?
@pixelstudio - Yes, rayleigh and mie scattering is calculated - no lookup tables. It's based off of Sean O'Neils article in GPU Gems 2.
@angel_m - The sun is represented as a directional light, and positioned accordingly. Also, we will not be doing volumetric clouds - they proved to be far too sluggish for our game.
Last edited by Chris Morris; 01-07-2011 at 01:18 AM.
Bloody brilliant. Can I feed it a custom cloud texture or replace whatever it uses to do the breakup?
@duke - The clouds are produced procedurally, so no texture is involved. I suppose you could hack around the script to use a static texture for the cloud distribution but you'd be losing out on some of the cool features like animation and lighting.
WOW !!!! awesome !!! it's really impressive. I was waiting for that for so much time.I saw the you tube video tutorial. i think you should do a little improvement : creating a script or a manager that handle the atmospheric variations according to tweakable fonctions. ( sky transitions, shiny weather to cloudy/ cloudy to stormy/ stormy to stormy with lightning / by night etc ( parameters like transition duration, weather duration and next weather step ( maybe a random parameter too ) putting this in an array to do the same as a play list. Isnt't that a good idea ??!!!
Great job, i'll buy this as soon as possible.
Since you are changing these parameters during game-play, I don't see the benefits.
Damn you guys are doing a good job of keeping me broke! Just an idea, I love how you matched the day/night cycle with the system time! What would even be cooler is if the weather could be linked to a zip code with acuweather or something along those lines for local weather!
Does this require pro? Great job by the way!
what...your mom get you 'puter for Christmas?
You say there's no cloud texture... does that mean the noise function is being carried out on the GPU?
Wow, this looks really good. Might have a look at it.
Comrade In Arms: A Multiplayer Side Scrolling Shooter
Check out the development blog at www.zombiegecko.com
Follow our Twitter or Facebook
Thanks Chris for supporting the Community & this UniSky makes a great addition to my ToolSet, Love to have the option too blend with the skybox. but all in due time.
Thanks for the input! I really appreciate it.
@kfrench16 - yes, I apologize, I should have included that in the description. It uses render targets so it does require Unity Pro.
@3dDude - Your cloud system looks absolutely fantastic and has the benefit of being "fly-through", so it serves a unique purpose. Had fun in the webplayer, ran absolutely smooth even when flying through.
@Antitheory - Yes, multiple layers of noise are carried out on the GPU as well as pretty much everything else. Very little of this tool is calculated on the CPU, giving you space for game logic.
@TheLlama - The first update is dynamic weather. I can't tell you when it will be released, but I'm working on it right now. It will involve procedural, localized storm clouds and effects (rain, snow, wind, etc.) and will of course be free for license holders through the Asset Store's update feature.
@cosmodog - I'm not sure what you mean, compared with a skybox - You could buy static skybox textures cheaper, but the two aren't really comparable. As for baked textures, I'm afraid there isn't an easy solution other than writing something yourself. Since the lighting changes dynamically in this tool, the shadows also need to be dynamic. However, you could homebrew a script that fades between precomputed shadowmaps, as you mentioned.