Light Propagation Volume + Time of Day + Distance Fields Ambient Occlusion - Weather System
List of desired features
- Day/Night Cycle (done)
- Calendar/Clock System (done)
- Fully dynamic light (done)
- Moon System, with lunar fases (done but need a little review)
- Sky color variations, based on time of day (done)
- Sky color variations, based on wheater (currently wip)
- Cloud System, with SSS and Translucent Shadows (currently wip)
- Temperature System
- Humidity System
- Wind System
- Rain System
- Storm System
- Thunder System with
- Snow System
- Dust System
- Post Processing Scene, reacting with weather.
- Material functions, helpers for add wetness/snow/dust on your materials.
- HUD system.
- Config System.
Dev Log
Hello Guys.
I’m Sharing with you my first tests with LPV + TOD.
Here on Video, I´m using on weather BP, some components:
- A Directional Movable Light
- Atmospheric Fog
- Stationary Sky Light
- A Post Processing Volume unbounded
I’m developing a Blue Print Called Weather BP, so soon i will share a complete weather solution with particle clouds, wind, rain night sky, moon circle… etc.
But my first challenge was the LPV + Directional Movable Light tweak.
LPVBias on PPV and ShadowBias on DML, combined with Indirect Light Intensity (on Both) is the secret of all.
But warning. Any thinner geometry unit 30, the light leaks. So I need to increase the LPVBias. But higher values of LPVBias, like 2 or 3, make bounces of lights very ugly. After mutch time, I found the relationship between LPVBias (PPV) and ShadowBias (DML). The balance between them is almost the perfect solution. If not for the Shadow Acne. Smaller values on ShadowBias, give me less light leaking throw the walls. But with nearly parallel angles between the light and the face geometry, shadow acne comes. Then, with the balance between ShadowBias and ShadowSharpen, I got good results.
[Suggestion]
- I wish I had access to a final pass after the shadow be computed and apply a BLUR on it. That would be perfect. - RayTraced Shadows Solved this.
- My feeling is that if I double the units of measurement of my building, none of this would need to be done, therefore, I believe LPV needs improvements on this direction.
The results are a combination of all together, with different settings each time of day.
When I’m satisfied with the result, I share the complete solution with you. So stay tunned on this post.
>>>Old Video]()
UPDATE 1
First of all, sorry for delay.
Now, I´m not using LPV but using new feature DFAO. There´s no Cascade only Ray Traced Shadows. I will fine tunning other things while LPV gain updates.
Too, I´m worked a lot on time of day specially Sky. All color phases are configurable by curves. Zenith Color, Horizon Color, Sun Corona. Im Working on Sun Color/Brightness external curves, but inside BP you can mess with up.
I´m added moon phases, and a counter for change the moon phases, everything is configurable.
Added sun/moon independent longitude, and a global angle for positioning the north.
Skylight, have a independent thicker for recapture scene. In faster global speeds, we can see the capture on skylight changes, but in slow ones, its a good smoth result. This is because recapture scenes, cost a lot.
The Cloud system is the last one added and still VERY buggy and not organized on BP.
I´m worked on a widget to debug the configs, is this compass rose on screens. It can be hidden after configure, un-cheking “Show Widget” checkbox.
The next is finish the cloud system, and make it cast translucent shadows.
[Suggestion]
- Is realy painfull work with curves inside timeline editor.
- Skylight Scene recapture, can be a litle more faster. Maybe 2 kinds on update. One deeper and another less deeper.
>>>Video]()
>>>Config Video]()
UPDATE 2
*Successfully Implemented Volumetric Clouds, casting translucent shadows. Setup this was a pain in **, because its a balance between Particles/Material/Number of emitters on screen to get good visual and dont lost so many FPS. - Need rework on that. 4.6 ruined my work.
And now, enabled LPV back as you can see on white hexagons.
Next, will be storm clouds and lightning effects.
Video
UPDATE 3
- Some fixes with LPV
- Merged Clouds with master Blueprint.
- (Disabled) Translucend Clouds Shadows for a while. Seems to be a Bug on 4.6.
- Added a lot of Config Controllers, needed to creating good weathers transitions.
- Optimized particles clouds.
- Added Moonlight
Enjoy! (sorry for engrish)
Downloads
Just put in Content folder, its recommended recompile before drop in editor view.
All files must be droped on Root (content folder). WITHOUT main container folders (Weather XXX 0.X)
Required UE4 4.6
Use at your risk
>>>Weater 0.03 Alpha]()
Screen Shots
Update 1
http://s27.postimg.org/jxahnj5r3/Highres_Screenshot00015.jpg http://s27.postimg.org/r1sawkd0f/Highres_Screenshot00016.jpg http://s27.postimg.org/mwheanf8f/Highres_Screenshot00017.jpg http://s27.postimg.org/uqhzw1n1b/Highres_Screenshot00018.jpg
http://s27.postimg.org/s5cf8ixnj/Highres_Screenshot00019.jpg http://s27.postimg.org/3q477gyqn/Highres_Screenshot00020.jpg http://s27.postimg.org/fpkasitpb/Highres_Screenshot00021.jpg http://s27.postimg.org/tqrp0c7vj/Highres_Screenshot00023.jpg
http://s27.postimg.org/gqkjhnaov/Highres_Screenshot00024.jpg http://s27.postimg.org/qvelth3vj/Highres_Screenshot00025.jpg http://s27.postimg.org/9m2q8m3fj/Highres_Screenshot00026.jpg http://s27.postimg.org/nr8jafcgv/Highres_Screenshot00027.jpg
http://s27.postimg.org/ypjssm127/Highres_Screenshot00028.jpg http://s27.postimg.org/uo2pmy8rj/Highres_Screenshot00029.jpg http://s27.postimg.org/fe2ufrd9b/Highres_Screenshot00030.jpg http://s27.postimg.org/5xd194ten/Highres_Screenshot00031.jpg
http://s27.postimg.org/56kb3cr1b/Highres_Screenshot00036.jpg http://s27.postimg.org/p8ykzq6lb/Highres_Screenshot00037.jpg http://s27.postimg.org/dhapoxbz3/Highres_Screenshot00038.jpg http://s27.postimg.org/h4qguzk67/Highres_Screenshot00039.jpg
http://s27.postimg.org/yo9uz6z8f/Highres_Screenshot00040.jpg http://s27.postimg.org/q118yxasf/Highres_Screenshot00041.jpg http://s27.postimg.org/8woj9zs9r/Highres_Screenshot00042.jpg http://s27.postimg.org/3vh58mktb/Highres_Screenshot00043.jpg
http://s27.postimg.org/xwbsdqkf3/Highres_Screenshot00045.jpg http://s27.postimg.org/nnjb7wwdb/Highres_Screenshot00046.jpg http://s27.postimg.org/xv1ukbilb/Highres_Screenshot00047.jpg http://s27.postimg.org/or3fjvh0f/Highres_Screenshot00048.jpg
http://s27.postimg.org/wmikcfg0v/Highres_Screenshot00049.jpg http://s27.postimg.org/t5gi9ggyn/Highres_Screenshot00050.jpg http://s27.postimg.org/k95q5iqcf/Highres_Screenshot00051.jpg
Update 2
http://s27.postimg.org/xmpi2cz27/Highres_Screenshot00000.jpg http://s27.postimg.org/ab5zr0a67/Highres_Screenshot00001.jpg http://s27.postimg.org/8lwwixugv/Highres_Screenshot00002.jpg http://s27.postimg.org/ss0ehtq4f/Highres_Screenshot00003.jpg
http://s27.postimg.org/n6dzdrpfj/Highres_Screenshot00004.jpg http://s27.postimg.org/cebtkxklb/Highres_Screenshot00005.jpg http://s27.postimg.org/454jk9g8v/Highres_Screenshot00006.jpg
Update 3
http://s12.postimg.org/acly1sgi1/Highres_Screenshot00006.png http://s12.postimg.org/d40menpmx/Highres_Screenshot00008.png http://s12.postimg.org/h1shht1u1/Highres_Screenshot00009.pnghttp://s14.postimg.org/a4gwir12l/Highres_Screenshot00011.jpg