As a fix for Greys stuff the following might help
Function setwrap() D3D7GraphicsDriver().Direct3DDevice7().SetTextureStageState( 0, D3DTSS_ADDRESS, D3DTADDRESS_WRAP); End Function Function setnowrap() D3D7GraphicsDriver().Direct3DDevice7().SetTextureStageState( 0 , D3DTSS_ADDRESS , D3DTADDRESS_CLAMP) ; End Function