A fabric tensor \IF\di\dj\N for three-dimensional assemblies of granular soils is introduced as an index showing the anisotropy due to the preferred orientation of constituent particles and is actually determined by using data derived from a material science approach of soils. Using the fabric tensor, a Drucker–Prager type of yield function is extended so as to take into account the anisotropic yielding behavior of granular soils. Plane strain tests on Toyoura sand are analyzed with a result that the anisotropic shear strength is well fitted by the extended Drucker–Prager yield function. Based on this, it is concluded that this study provides a step to link the material science approach of soils, in which the spatial arrangement of particles and associated voids plays an important role, to the continuum theory of plasticity.