Photoshop: Can't assign the same texture file for multiple 3D layers.

  • 3
  • Problem
  • Updated 11 months ago
  • (Edited)
I have a scene where there are multiple 3D object layers. I use them as an overlay (for distorting textures) on the background. I'm dealing with an issue where I can't assign the same .psb (or any other file) to multiple 3D objects as the texture for the diffuse map. If I go to each 3d layer, click on "replace texture..." and set the texture as the SAME file, it will only be assigned to the last 3d layer. For the rest of the 3d layers, it will generate a new texture file that's a duplicate stored somewhere in the Temp folder. So if I change the original texture file, it will not update the rest of the layers as they're not connected anymore. This issue only affects 3D layers - for multiple smart objects sharing the same texture file, it works fine. We're looking for new ways to generate mockups for our company and by fixing this issue, we'd be able to use Photoshop to a greater extent. This issue is a real blocker for us right now to move forward.
Photo of Emilio

Emilio

  • 5 Posts
  • 0 Reply Likes
  • frustrated

Posted 11 months ago

  • 3
Photo of Emilio

Emilio

  • 5 Posts
  • 0 Reply Likes
Additionally, closing the main scene and opening it again will disconnect any texture files and make duplicates (.psb files) in the temp folder.

I can't have a single 3D layer containing multiple model meshes as I have to make masks for each one. With a single layer, you can only make one mask so I need multiple 3D layers in the scene.
Photo of Stefan Klein

Stefan Klein

  • 163 Posts
  • 85 Reply Likes
Emilio,
how did you actually make the distorsion, so that the 3D layer distorts the shirt? The mesh is totally flat, like a postcard.
Photo of Emilio

Emilio

  • 5 Posts
  • 0 Reply Likes
Check the wireframe ;)
Photo of Stefan Klein

Stefan Klein

  • 163 Posts
  • 85 Reply Likes
I already did, but don ́t get it :( How did you make that wireframe?
Photo of Emilio

Emilio

  • 5 Posts
  • 0 Reply Likes
Ideally, the texture file would need to be a PNG. So that you can just replace it with a PNG that has the same name in the destination folder. Then, open the scene, and all objects would have been updated automatically.
Photo of Daniel Presedo

Daniel Presedo, Employee

  • 64 Posts
  • 38 Reply Likes
If you can send me a template of what you want to make, I think i have an idea that may work. 
daniel at adobe dot com

You can set up a single texture as a Smart Object.
Use that as a texture for your 3D object.
Apply that as a  Diffuse texture on the 3D object(s.)
Now if you update the original texture file it should update the texture on each object accordingly...
(Edited)
Photo of Emilio

Emilio

  • 5 Posts
  • 0 Reply Likes
Thank you for your reply, Daniel.

Here's my test scene:
https://drive.google.com/drive/folders/1pgPFb8eQNXmoLQ81sJb2vNH7VLu8QHH_?usp=sharing

2 shirts each with a 3D layer. Need to be able to change between the textures (also in the folder) and for both of the shirts to sync automatically.

I tried your method but seems that the issue still lays in the fact that the documents get disconnected. Once you change one 3d layer, the other one loses its connection.  The same is true when you restart Photoshop.

Appreciate you looking into this.
Photo of Daniel Presedo

Daniel Presedo, Employee

  • 64 Posts
  • 38 Reply Likes
Here is possibly a better workaround.
I opened your file:
  1. Opened the 3D texture > texture 1
  2. File menu > Place Linked > I added your file on top of the previous Layer.
  3. Save and Close.
  4. I used the 3D Material Drop Tool > Hold Option to COPY texture > then select the other 3D layer and click to Paste the same texture to the other 3D layer
    * You could also just Place Link the same image to the other 3D layer.
  5. To test this I just open the t-shirt texture from the disk and Inverted the image. Save and Close
  6. Back to our 3D layer(s) open the "texture 1" image again.
  7. Now you should see an exclamation on the Layer, meaning something changed.
  8. Click on the layer to "Update All modified Content" > then repeat this with the other layer.
It's a bunch of clicks but should work they way you want.
Let me know if you have any questions, I can post a video on this later, and even use this content if that is ok with you.

Daniel
(Edited)
Photo of Stefan Klein

Stefan Klein

  • 163 Posts
  • 85 Reply Likes
how is the distorsion actually made, so that the 3D layer distorts the shirt? The mesh is totally flat, like a postcard.
Photo of Daniel Presedo

Daniel Presedo, Employee

  • 64 Posts
  • 38 Reply Likes
It's super clever! I don't believe I have seen Photoshop 3D used in quite this way before.
The "wireframe" > UVs < are what gives it that wrapping / distortion.
You have to generate that in a 3D application with a proper UV editor.

One way is to basically have 3D "shirt" geometry in that shape. One could then project or shrink wrap the UVs around that "shirt" geometry, which is on a plane in this case.



Well done!
(Edited)
Photo of Stefan Klein

Stefan Klein

  • 163 Posts
  • 85 Reply Likes
Thanks, Daniel! 
Would be great, if we were able to do such stuff with Adobe ́s own software.