Jump to content
  • Advertisement
Sign in to follow this  
mike74

sky effect

This topic is 4833 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

Does anyone know how the sky effect is generally done in games like Battlefield 1942? I've seen it done with a cube surrounding the viewer, but you need to distort the edges of the textures in bizarre ways to make it look right. mike http://www.coolgroups.com/

Share this post


Link to post
Share on other sites
Advertisement
Nothing bizarre about cubical sky boxes. You just render six views of the sky using a 90-degree FOV and a square frame. No distortion besides the normal effects of perspective that occur automatically. Domes are more useful for procedural, dynamic skies like if you're simulating the day/night cycle.

Share this post


Link to post
Share on other sites
You usually have to clamp the texture edges to prevent lines from appearing on some gfx cards.

Share this post


Link to post
Share on other sites
you may use following works for sky:

http://www2.imm.dtu.dk/pubdb/views/edoc_download.php/2554/pdf/imm2554.pdf
http://www.geocities.com/ngdash/whitepapers/skydomecolor.html

for clouds: http://www.vterrain.org/Atmosphere/Clouds/index.html

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

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

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!