Jump to content

Space Shader / BG / ClearColor


Recommended Posts

I'm making a space game and I'm wondering what would be a good way to simulate distant stars. My initial thought was to randomly generate white specks super far out but that doesn't seem very respectful of resources. Is there a way to simulate it with clearColor or perhaps a repeated PNG?

Link to comment
Share on other sites

Hi guys.  Speaking-of big boxes with some star image, here we go

Equi-rectangular images are the latest craze, but it is difficult to FIND equirectangular starfield images.  This one isn't TOO bad. 

SOME equirectangular images are plentiful.  Do you mind doing your space game in a hotel room:D

ArcRotateCamera upper/lower beta limits... can prevent players from viewing the poles (where ER images are "gathered together" in an unsightly way). 


Skyboxes are another way.  They require 6 images, sometimes called cubeMaps.  Here is the "Skybox Tour" from our main web page.  Use [ or ] brackets to tour the skyboxes (39 of them).  Change the .htm to .zip, and get the zip with ALL skybox images included. 

Unfortunately, most of these skyboxes contain SOME terrain, too.  Perhaps only #34 is terrain-less - pure stars and space stuff.

All skybox images are provided-by 3dElyvisions.  Images are free to use in 3D games, but please see note about giving credit... at the bottom of their website.  Party on!

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...