Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

asm-hex_2750

NeHe: How did you make that rolling sky in ur world demo?

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

Advertisement
I think he just put a blended sky texture that is rotating on the Y-axis and then put a solid sky texture above it that stays stationary.




Open mouth, insert foot

Share this post


Link to post
Share on other sites
Hi there,

Rather than rotating the sphere you
animate the texture using then Texture matrix and
glTranslatef,glRotate etc

Hope this helps.

Share this post


Link to post
Share on other sites
How do you use the texture matrix? I did a little bit of research but I guess I was looking in the wrong places... Or maybe its just because im sleepy and not at my smartest right now.

Share this post


Link to post
Share on other sites

  • 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!