Something like on the screenshot is better to use for simple cube-ish geometry. No switches and single sampler.