Jump to content


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.