Hi! I'm new in this forum. I was reading some other posts about Directx and so. Now I have a problem with Lightning in Directx.

I wanted to do some graphics like minecraft's ones, with cubes. And when I got my cube class ready, i drawed one cube and that happend:

box1

I have SetRenderState(D3DRS_LIGHTING, FALSE) set, so i dont know why this happens...
Can someone help me? Why could this happen?

Thanks!

You'd have to post the sourcecode before anyone can really help. Off the top of my head, I can't see why that'd be happening.