Given an image of a rough surface texture, the approach described here can estimate the direction from which the surface was lit. Unlike previous work, we require neither surface isotropy nor that the texture is included in the training set. The approach is based on active basis and the Mojette transform. The Mojette transform is used to estimate the orientation of the texture; it does so by finding which training samples have similar orientation features. The active basis model is then learned from training images by the shared pursuit algorithm. Next, the base histograms of the test image and textures with similar orientation features in the training set are compared so that the illumination directions can be estimated by minimizing their correlation coefficients.