Jump to content

  • Log In with Google      Sign In   
  • Create Account


#ActualBMW

Posted 25 March 2013 - 11:10 PM

I am making a voxel engine in C++ with Direct3D.

 

I have rendered some voxels on the screen with colours for sides (no textures yet).

 

However it appears that the z-buffer isn't working properly. See image: (Image is of a "chunk" of blocks)

 

d3dproblem.png

 

What would be causing this?


#1BMW

Posted 25 March 2013 - 11:09 PM

I am making a voxel engine in C++ with Direct3D.

 

I have rendered some voxels on the screen with colours for sides (no textures yet).

 

However it appears that the z-buffer isn't working properly. See image:

 

d3dproblem.png

 

What would be causing this?


PARTNERS