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
- Adding Real World Location to Ice Fishing Prototype
- [web tool] Image Channel Inspector : AlphaScope
- Editor Tool: Smart Recompile (don’t recompile if edit comments)
- Editor Tool: Scene Size Analyzer
- LudumDare 60: Old Tech
- uBasic Scripting Language for Unity
- GreaseMonkey+Editor Plugin: 1-Click Copy script from ChatGPT (Web) to Unity Editor (as script)
- Editor Tool: Property Watcher
- .unityignore : Hide files from Project window
- PostBuild Script to Create Single exe Standalone File
- Game Loop Designer
- Favorites in PackageManager
Recent Comments
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