Sign in to follow this  
Halsafar

Billboard Sun with SkyDome

Recommended Posts

Adding some finishing touches to a graphics project:
[media]http://www.youtube.com/watch?v=6BMgMdrR9-w[/media]


Recently added a skydome using spherical texture mapping. Looks great. Added horizon effects as the sun rises and lowers. Added a halo effect around the suns position in the sky.

The skydome is rendered around the view origin at all times (so it is at infinity).

The problem is actually drawing a billboarded quad for the sun in the skydome. Any tips would be great! Our billboarding never looks right, always is rotating the sun opposite the camera or something silly. The sun position and rotation around the terrain looks broken and definitely doesn't look like it is behind the skydome like one would expect.

Instead of going over everything we have tried it might be easier to just ask for help. Specifically some guidance on what type of billboarding to use for the sun quad. How to position the sun so it looks convincingly in the sky.

Thanks!

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this