Sign in to follow this  
Ksingh30

double sided quad

Recommended Posts

ok lets say I have this 3d world and a quad with a texture in it. but this quad is only visible from 1 side. how can i make it visible on both sides.

Share this post


Link to post
Share on other sites
Either you can render the quad twice or disable backface culling. To disable backface culling, you'd do something like this:

d3d->SetRenderState(D3DRS_CULLMODE, D3DCULL_NONE);

Share this post


Link to post
Share on other sites
The normal doesn't matter. What matters is the order the vertices are rendered. (Clockwise or counter-clockwise)

Check out the documentation for D3DRS_CULLMODE.

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