Sign in to follow this  
Torath

Rendering a space skybox

Recommended Posts

Hi. I'm currently working on a small 3D space game built using C++ and DirectX 11.

I've added in a skybox that has a nice mixture of stars for my background. Howevever, when I see it in game it never looks as sharp as the actual textures I've got. For example, the stars end up looking blocky instead of nice and crisp.

Does anyone have tips for rendering a nice looking skybox?

Oh, for reference, the sampler state I've set up for the pixel shader uses the D3D11_FILTER_MIN_MAG_MIP_LINEAR filter. Is this a good choice? Is there a better alternative?

Thanks for any help! Edited by Torath

Share this post


Link to post
Share on other sites
It is most likely because of your texture size is small for the skybox you are using.You can resize your skybox to lets say half of its current size with scale matrix and see if it looks good. And if it looks good that means you need double of the size of your current texture. By using different scale matrices you can find how big texture you need.

Share this post


Link to post
Share on other sites
[quote name='toasterthegamer' timestamp='1342814126' post='4961434']
[url="http://alexcpeterson.com/spacescape"]http://alexcpeterson.com/spacescape[/url]
[img]http://public.gamedev.net//public/style_emoticons/default/smile.png[/img]
[/quote]

This looks very cool, I'm going to give it a try!

Share this post


Link to post
Share on other sites
You could try rendering the stars and other bodies as point sprites and just use the skybox for things like nebula haze. That's what EVE Online does and it looks beautiful. One clear benefit of this technique is that you can have your stars pulse and glow. Edited by ZBethel

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this