Multiple objects mesh imported as one element

texture coordinate node, but only works if you unwrapped your mesh properly.