dxGraphics3D 640,480 camera = dxCreateCamera() dxMoveEntity camera,0,0,-3 ball = dxCreateSphere() lite = dxCreateLight(1) ; change this to 2 or 3 to see different lights dxMoveEntity lite,5,0,0 dxPointEntity lite,ball ; make sure light is pointing at ball While Not dxKeyDown(1) dxRenderWorld:dxFlip Wend End