Jump to content

  • Log In with Google      Sign In   
  • Create Account

We need your help!

We need 1 more developer from Canada and 12 more from Australia to help us complete a research survey.

Support our site by taking a quick sponsored survey and win a chance at a $50 Amazon gift card. Click here to get started!


Member Since 19 Oct 2013
Offline Last Active Nov 01 2013 12:13 PM

Posts I've Made

In Topic: Depth Buffer rendering nothing

20 October 2013 - 08:19 AM

1. world_z_min cannot be 0. Use 0.1f or something similar.



g_pImmediateContext->Draw(sizeof(vertices), 0); 

sizeof() returns size in bytes, but Draw() call requires number of vertices, use ARRAYSIZE() macro.


Hey, thanks so much! The min distance was the cause haha, can't believe I missed that one. As for the sizeof, good call, even though it's been working with that method so far.