   cube problem
  Does anyone know what could be causing this in DirectX10?Im using frank lunas directx10 book and currently using his unmodified shaderthe texture and lighting is applied, but it seems the cube is not fully being renderered and the texture is just a shade of brown. I had a problem like this in OpenGL a while ago, but forgot what is wrong.<Image>
  Culling?   ;  thanks for suggestion, I tried CullMode = D3D10_CULL_BACK; andCullMode = D3D10_CULL_FRONT;in rasterizer state. doesn't fix it.   