Sample texture detection

Possible way to move texture detection from materials. Not sure if we should iterate in one go, or per type.