Advertisement Jump to content
Sign in to follow this  
Vlad_alucard

Backgrounds

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

Well hi! I'm developing a game bla bla bla yes it's a space shooter.... and i thought of putting some stars on the background because, well maybe it is realistic. but hey how? I tried it many ways and the last thing, and maybe the best, was to create a huge shpere around the player's ship.... I used the glu library and yes i used the gluSphere(....); method.... i tink i did it correct using nehe's tutorial with this. now my problem is that there are no stars. i binded the texture with the object, but well i think the texture is on the other side of the sphere and not on the inner sides.... is there any possibility to place the stars on the inner side of the sphere? or might there are other... better solutions to create this background.

Share this post


Link to post
Share on other sites
Advertisement
If it is 3D, make a skybox, for example, and instead of texturing with ground and sky, texture it with stars.

Share this post


Link to post
Share on other sites
I suppose an alternative method would be to just plot random pixels, similar to a particle system. That would be far less capable of displaying good looking star systems though, like nebulae.

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.

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!