Jump to content
  • Advertisement
  • entries
    743
  • comments
    1924
  • views
    582943

Sky Box Added

Sign in to follow this  
Aardvajk

601 views

Finally managed to locate a free day-time skybox generator and made a sky box for my game.

I lifted the code from my space game to add it to the platform game. Basically creating a cube map using the six faces of the texture, then generating a sky box geometry mesh using the position-only vertex format and a special vertex and pixel shader for doing the rendering, moving the pixels to the far plane and sampling using the interpolated normal. Nothing very clever but it works nicely.

Can soon make the image used be a property of the level in the editor easily enough and play around with tweaking the colours depending on the time of day and so on. Could even do a blend between a night time and day time cube map easily enough if I wanted this to be dynamic, but no need to complicate things at the moment. Need to instead focus on getting the main character interaction with the environment working as I want it.

Trying to decide on a nice balance between a Mario-style running, jumping interaction and a Tomb Raider walk-run-jump mechanic. Still not sure what kind of game I am trying to write here.

I have walking and stopping at edges working again now, but don't want to stray too far from a Super Mario free running and jumping style so not sure that will be kept. Need to knuckle down to some hard decisions about the type of platform game I'm writing here.

Sign in to follow this  


0 Comments


Recommended Comments

There are no comments to display.

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
  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!