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
- 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)
- Check if point is inside polygon 2D (using line intersection)
- UnityHub: Enable Create Project Button (without having to select Cloud Organization)
- UI: Make Tooltip background fit Text content length
- Pong-Wars in Unity
- Install Android SDK+JDK+NDK for Unity (without AndroidStudio or Unity Hub)
- UnityHub: Add support for custom project title (instead of folder name) or use ProductName
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