Sign in to follow this  
BloodLust666

Ortho camera

Recommended Posts

i have an ortho camera (obviously) with a near plane of 0 and a far plane of 5, but when i place my background texture at anything with a Z value past 1 it doesn't show up, it only shows when i place it exactly at 1.

Share this post


Link to post
Share on other sites
oh sry, i'm doing a 2d game, and i'm using about layers of textures (i'm only using 2 right now the background and the sprites). but when i have the background at >2, the background doesn't show up.

Share this post


Link to post
Share on other sites
I'm not sure if it's releated to the missing objects, but you should have your near clipping plane at 1.0f. Anything else is not optimized and can cause bad z-fighting. It may even be the cause of the missing objects...

Matt Hughson

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