Jump to content
  • Advertisement
Sign in to follow this  
Halsafar

Billboard Sun with SkyDome

This topic is 2452 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Adding some finishing touches to a graphics project:
[media]
[/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
Advertisement
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!