Look at the material's texture name instead of the material name.
Merge pull request #3 from EsotericSoftware/master

Look at the material's texture name instead of the material name.