To expand on Dave’s answer:
You need two copies of the text (image) layer, both masked so that they cut off at the corner, one showing the back wall, one the side wall.
Make both layers into 3D layers.
Move the anchor point of the side wall layer with the “pan behind” tool horizontally to the corner.
Rotate the side wall layer on the Y axis until it aligns with the perspective of the side wall.
Kalleheikki Kannisto
Senior Graphic Designer