How to I apply a texture to a shape?

pretty sure you use linear interpolation between texture or the lerp node