save as shader preset
DigiDotz
Posts: 515
Hi,
I have used a pattern image on a surface and tweaked in the surfaces tab, opacity, displacement etc.
If I save as a shader preset, the path to the image is c:/users/myusername/Daz 3D/Studio/MyLibrary/ShaderPresets/shaders/myfolder/tile.png
Is there a way to make the path to the image MyLibrary/ShaderPresets/shaders/myfolder/tile.png so i can share it
...or have i got it all wrong
Comments
Thanks, the shader preset was a .duf file and so i couldn't open it as readable text to edit.
I saved again as as depreciated .dsa file.
now although it shows the full path in studio, when i opened the file as text, the path is relative so maybe the .duf file is also
Thanks again, carry on!
DUF's are plain text files as well.
For instance, the start of one I'm working on right now goes...
Why not just use the Shader Baker, and share those textures?
If it doesn't open in a text editor, then it's probably compressed...there should be an option during the save to "Compress files"...uncheck the box.
You can right-click the compressed .duf and unzip it just like a zip file. Then you delete the compressed one and add the .duf extension to the unzipped extension-less file, and voila, it can be text edited from then on. I do this when batch-generating materials for textures.
Thanks everyone for sharing how to open the .dufs in a text editior. I was going to have to ask how to do this too, and now I don't have to. :)
thanks all your advice.
I will stick to keeping images/textures in the runtime folder and now know i can text edit the .duf files if needed great