Export shader for the Daz store

Hi everyone!

I have created some shaders that I would like to upload to the daz store. These shaders have jpg textures, normal maps etc ...

If I do: file> save as> shader preset I create a duf file but it will only work if the images are in that specific folder.

So I believe that on other pc, the duf file will only work if the jpg files are in the right folder.

What is the correct way to export the shaders so that they can also be loaded on the daz store?

Thank you

Comments

  • Move your textures to Runtime\Textures\[your name or handle]\[product]

    The last two are optional, but makes it a bit easier on us users.

    you can either reapply the textures and resave or...

    Copy the path, sans the parent folder, then open the DUF in Notepad++ and replace the existing texture path with the new path, using the find(CTRL+F) and Replace tab.

    Be sure to change the " \ " to a " / ".

     

  • Were the textues in a content directory (in /Runtime/Textues/some folders/) when you applied them? If not the preset will use the absolute path, starting from the drive identifier, and will not be portable - you could apply the preset with the textures in their final location, tell DS where they are when asked, and then resave the preset with relative paths (just the location within the content directory) - that will be portable..

  • A thousand thanks! if I open the duf file with a text editor I read the relative path in the "url" field. I think that's right, right?

    "url" : "/Runtime/Textures/[Folder]/[Filename].jpg",

  • Yes, that is a standard relative path by the look of it.

Sign In or Register to comment.