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?

Recommended Posts

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