In that case using the UV coordinates will do the trick:
(given you have a suitable UV. for the cube the default generated will do ).
In that case using the UV coordinates will do the trick:
(given you have a suitable UV. for the cube the default generated will do ).