This is a 2 part effect, each a skill in itself. Part 1 uses 2D pixel data from a photograph to synthesize 3D data as a bump map, making dark pixels into wood grain crevices that interact with your global lighting (image 3 below). Part 2 is an intro to Photoshop’s 3D environment, where instead of mimicking a 3rd dimension, we actually create it. In the final composition, the 3D geometry is both casting shadows and wearing the texture from part 1 like skin.
Part 1: Self Shadowing Textures
Open the image you want to convert to a 3D texture. Click: Edit/Define Pattern. Now that your pattern is saved in Photoshop’s resource library, double-click on the layer to open the layer styles window. Select “Bevel and Emboss”, “Contour”, “Texture” and “Pattern Overlay”. Click on “Texture” then select your new pattern. Click on Pattern overlay and select the same pattern. Now your texture has a 3d bump map which is applied to your layer and casts shadows on itself that you can re-adjust under “Bevel & Emboss” in the “Layer Styles” window.
Part 2: 3D Extrusion
To create 3D geometry depth and shadow, select your text layer, Command+J to duplicate it. On the bottom text layer, delete the layer styles (bevel & emboss/pattern overlay). Now, with the untextured layer selected, click on the 3D tab and select “Selected Layers” “3D Extrusion”. You can adjust the depth, positioning and lighting. In your 3D panel, tweak positioning and the look with the environment panel (lighting and shadow) and the Camera panel (perspective and framing).

Screen Shot 2018-04-15 at 5.48.52 PM
This feature can be used with any layer. Here I use the text tool to create a shape to texture.

Screen Shot 2018-04-15 at 5.30.29 PM
Double-click your layer, select "Bevel & Emboss" and choose your pattern under "Texture".

Screen Shot 2018-04-15 at 5.33.09 PM
With your untextured layer copy selected, click the 3d tab by the layers panel and select 3D extrusion from selected layers.

woodenTypeweb
Add a floor by selecting your original texture and clicking 3d postcard from selected layers then move it with the gizmo tools on the top of the screen.