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
- [GreaseMonkey] Unity Forum Fixer
- UnityHub: Make Hub application background Translucent
- Customize SpriteShapeRenderer quality (but has issues)
- Editor tool: Copy selected gameobject’s names into clipboard as rows (for Excel)
- Editor tool: Replace string in selected gameobject’s names
- UnityHub: Enable built-in Login Dialog (no more browser login/logout issues!)
- Use TikTok-TTS in Unity (with WebRequest)
- Create Scene Thumbnail Image using OnSceneSaved & OnPreviewGUI
- webgl+javascript TTS
- Using Moonsharp (LUA) + Unity Webgl
- Using 3D gameobject prefabs with Unity Tilemap + NavMesh Surface
- Custom Unity Hub Project Template Preview Image/Video (using HTML+CSS in package description)
Recent Comments
- Vector3 maths for dummies! on
- UnityHub: Make Hub application background Translucent on
- UnityHub: Make Hub application background Translucent on
- Install Android SDK+JDK+NDK for Unity (without AndroidStudio or Unity Hub) on
- Install Android SDK+JDK+NDK for Unity (without AndroidStudio or Unity Hub) on
- [Asset Store] Point Cloud Viewer & Tools on
- [Asset Store] Point Cloud Viewer & Tools on
- ffmpeg stream raw video into Unity Texture2D on
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