Share this post

Link to post

Share on other sites

1) Bind your vertexbuffer, set your vertex format.2) Set all your rending modes, alpha ops, texturing modes and so on.3) Set your fist texture, then render the one face (two triangles) that corresponds to that texture. Set the next texture and render the next appropriate face. Keep doing this untill you have draw the whole skybox or at least the parts that are visible.

You could also create one big texture that has the six smaller textures in it. Then just set that texture and draw the whole skybox. I would not do this personally since my video card only supports textures up to 256 by 256. Thats like one 85 by 128 texture per face. It doesn't look good at all.