16
2012
Foggy Skydome + Sun – Shader

SkyDome mesh with special shader: Foggy Sun With Gradient Sky (sun direction based on directional light)
Currently its bit too bright/foggy.. (this shader converted to unity from NVidia dx11 resources)
Features v1.0
– Adjustable sky texture (not used in the webplayer, just colors. See image #2 for custom sky texture)
– Adjustable dark & light colors
– Sun direction can be animated by rotating directional light
– 1 Skydome mesh with 1 shader (no unity fog enabled)
Ideas:
– Adjust colors (darker night or different night texture?)
– Animated clouds? (or use the previous animated sky clouds system?)
– Use better skydome mesh? (now its using default unity sphere..)
Webplayer:
http://unitycoder.com/upload/demos/FoggySkyDomeSunAnim1/
Download source:
later..
—
image#2 : using colored sky texture

—
image#3: using sky texture, now the bright sun area is bit smaller (some fog corona effect there, not sure where its coming..)

Related Posts
3 Comments + Add Comment
Leave a comment
Recent posts
- LudumDare59 : Signal
- Unity Editor: Tree Generator
- Leaf/Foliage Generator Tools (Runs in Browser)
- Testing Unity AI Beta
- Ways to Support UnityCoder Development
- Using UI Slider to Create 5-Star Rating Element
- Game Music Library For Unity (editor plugin)
- Fontastic : Easily Test Fonts in Unity Editor!
- GeoTiff Importer & Terrain Generator for Unity
- Create Baked DropShadow for UI images
- .JP2 Ortho Image Converter to PNG/JPG/TIFF
- Convert LAS/LAZ/PLY pointclouds to GLTF (GLB) Point Meshes (standalone converter)
Recent Comments
- on Sprite Sheet Flip Book Shader
- on Sprite Sheet Flip Book Shader
- on [Asset Store] PolygonCollider2D Optimizer
- on Trajectory Test Scene 2.0
- on Vector3 maths for dummies!
- on UnityHub 3.6.0: Remove Version Control & Cloud Dashboard columns
- on Using RenderDoc with Unity (graphics debugger)
- on UI Scroll View automatic Content height
Coin:
CUgDSbRqFcAumDSAcdKDvuXsw26VdkJe8C8WGUQHBAGS
An article by












GPU Gems : Accurate Atmospheric Scattering (with sources)
http://forum.unity3d.com/threads/173956-Implementing-GPU-Gems-shaders-into-Unity?p=1218650&viewfull=1#post1218650
day night cycle (free)
http://forum.unity3d.com/threads/day-and-night-cycle.200942/
Sky shading pass
https://monter.handmade.network/blogs/p/2853-engine_work__sky_shading_pass#14007