Aug
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..)


3 Comments + Add Comment

Leave a comment

Connect

Twitter View LinkedIn profile Youtube Youtube Join Discord Twitch Instagram

UnityLauncherPro

Get UnityLauncherPRO and work faster with Unity Projects!
*free unity hub alternative

@unitycoder_com

Subscribe to Blog via Email

Enter your email address to subscribe to this blog and receive notifications of new posts by email.