dxGraphics3D 640,480 camera = dxCreateCamera() dxMoveEntity camera,0,0,-40 flat = dxCreatePlane(10) dxTurnEntity flat,-90,0,0 lite = dxCreateLight(3) ; try different lights 1 to 3 dxMoveEntity lite,0,0,-15 While Not dxKeyDown(1) dxRenderWorld:dxFlip If dxKeyHit(57) Then ; press SPACEBAR to randomly change the 'cone' of light dxLightConeAngles lite, dxRand(120),dxRand(120) EndIf Wend End