Digital Art Zone

 
   
1 of 2
1
shader to gild a surface?
Posted: 02 October 2012 07:19 AM   [ Ignore ]
Active Member
Avatar
RankRank
Total Posts:  264
Joined  2010-06-12

I want to be able to gild a surface, possibly with gold but ideally with any texture I can specify.

I assume I will need a shader to do it.

Does anyone know how it can be done?

Thanks.

Profile
 
 
Posted: 02 October 2012 07:29 AM   [ Ignore ]   [ # 1 ]
Administrator
Avatar
RankRankRankRank
Total Posts:  12387
Joined  2003-10-09

Metals are mainly distinguished by the way they reflect light - try experimenting with the reflection colour and strength (assuming there’s stuff in the scene to reflect), and also refraction. In DAZ Studio try changing the lighting model to modify the way the specular colours apply.

 Signature 

DAZ Studio Frequently Asked Questions

Index of free DAZ Studio scripts and plugins list

Profile
 
 
Posted: 02 October 2012 07:42 AM   [ Ignore ]   [ # 2 ]
Addict
Avatar
RankRankRankRank
Total Posts:  4921
Joined  2006-02-20

Freee
http://www.sharecg.com/v/27568/material-and-shader/Ultimate-Shader-Pack-for-DAZ-Studio

 Signature 

I like Bryce, DazStudio, Poser and Vue ... in alphabetical order. And I would probably like Carrara too, if I could find the time to become acquainted with it. Peace?

Profile
 
 
Posted: 02 October 2012 08:03 AM   [ Ignore ]   [ # 3 ]
Active Member
Avatar
RankRank
Total Posts:  264
Joined  2010-06-12

Thanks for the suggestions.

I just tried an ultimate shader pack metal but it converts the entire surface to metal as though it was plated rather than applying a sort of burnishing effect to whatever is already there.

An example of what I am trying to do is to take the Sabbatic Goat’s horns which are quite grooved through bump and displacement maps and get them to reflect light as though they had had gold polishing/gilding so the underlying colours and textures would still be there but the grooves (or their peaks, rather) would catch and reflect light.

I am getting something vaguely approximating the effect using pweffect on a geometric shell over the horns but it is hardly very subtle and will probably need a bit of work to make it how I am wanting:

Image Attachments
g12b-1mx.jpg
Profile
 
 
Posted: 02 October 2012 08:35 AM   [ Ignore ]   [ # 4 ]
Addict
Avatar
RankRankRankRank
Total Posts:  4745
Joined  2011-10-04

You prolly want omnifreaker’s improved ubersurface 2 shader. I managed to give Millennium Cat some tiled Furify displacements while keeping the moggy’s original fur colors intact.

Edit: Aha! This one!

 Signature 

Thanking: M F M for a gift of dragons!
My DeviantArt page.
My DAZ Studio 4 freebies.
My ramblings/blog

Profile
 
 
Posted: 02 October 2012 10:01 AM   [ Ignore ]   [ # 5 ]
Administrator
Avatar
RankRankRankRank
Total Posts:  14711
Joined  2009-01-22

I have a set of Shaders well two sets really but the one you might like is the second one.
SuperShine Shaders
SuperShine TopCoat
Free so it wont hurt to look.

 Signature 

Exile, Drows Walk: A Tale of Jaderail starts here. Free pulp fiction at its Fantasy best, Updated 2/3/14.
Proud Member of the Bald Wizards Club My stuff at DeviantArt

Profile
 
 
Posted: 02 October 2012 10:16 AM   [ Ignore ]   [ # 6 ]
Active Member
Avatar
RankRank
Total Posts:  643
Joined  2012-02-12

Put reflection to a value > 0. You can begin with 100% then decrease until your liking. If the effect is not sufficient, you can try to put a reflection map

With DS Default materal you can put any standard image map (non HDR)

With Uber surface you have two parameters. One for the color, the other for the strenght.

I don’t know for PwSurface but I’m sure such options are also available. Otherwise, you’ll just have raytraced reflections with it

Last thing is to get a good map for the reflections

 Signature 

My Deviant Art

Profile
 
 
Posted: 02 October 2012 12:26 PM   [ Ignore ]   [ # 7 ]
Active Member
Avatar
RankRank
Total Posts:  490
Joined  2003-10-09

Okay, one further note - if you want a drybrushed effect, where only the raised surfaces are affected, you will likely have to edit the textures themselves…

 Signature 

A good pun is its own reword

“The greatest sin is to be willfully unteachable” - Dr. Pat Allen

Profile
 
 
Posted: 02 October 2012 03:31 PM   [ Ignore ]   [ # 8 ]
Power Member
Avatar
RankRankRank
Total Posts:  2187
Joined  2005-09-05
Richard Haseltine - 02 October 2012 07:29 AM

Metals are mainly distinguished by the way they reflect light - try experimenting with the reflection colour and strength (assuming there’s stuff in the scene to reflect), and also refraction. In DAZ Studio try changing the lighting model to modify the way the specular colours apply.

To add to what Richard said and if you want to make your own…

If I am thinking of the right thing gilding is only on certain parts of an item and not all over.

You would need specific specular maps to do this. It could probably be set up using a mix block in Shadermixer. You would need to have an alpha for where you wanted the shading and also a specific specular map as well. The alpha would tell the program where to put the colour of the gilding and the spec would show where you want the shine. That’s why you would need both…


Once set up you would be able to change maps to suit the item being used.

 Signature 

Shadermixer tutorials and recipes
My ShareCG Gallery
Shadermixer Documents

Profile
 
 
Posted: 02 October 2012 03:45 PM   [ Ignore ]   [ # 9 ]
Administrator
Avatar
RankRankRankRank
Total Posts:  14711
Joined  2009-01-22

I still say SuperShine TopCoat with the refection color set to gold is a quick and easy way to do this. Just my two Cents.

EDIT: TESTED, nope does not look gilded with gold. Sorry. Still good shaders to have. cheese

 Signature 

Exile, Drows Walk: A Tale of Jaderail starts here. Free pulp fiction at its Fantasy best, Updated 2/3/14.
Proud Member of the Bald Wizards Club My stuff at DeviantArt

Profile
 
 
Posted: 02 October 2012 05:58 PM   [ Ignore ]   [ # 10 ]
Addict
Avatar
RankRankRankRank
Total Posts:  4545
Joined  2007-09-13

Here’s an attempt I made…

I used Cooltuna’s Ram’s horns for M4

I first made a quick and dirty displacement map for them…just some dark grey squiggles and blotches on a medium grey background. I actually did that as a layer in Gimp, so the next step would be easier. Then I played with the levels to get the dark grey to almost black and then filled the medium grey with an almost white.  The flattened image (black/white) became a strength map for the reflection channel.  I plugged a gold reflection map into the reflection color…

The original greyscale map became the displacement map.  I set negative displacement only, and a high strength.

As you can see the ‘high’ areas are golden and the low areas are not…

Image Attachments
gilded.jpg
 Signature 

1432 old posts

My ShareCG gallery.

Just because something costs a lot, doesn’t mean it’s the best…

It just means it’s expensive.

Profile
 
 
Posted: 02 October 2012 06:02 PM   [ Ignore ]   [ # 11 ]
Power Member
Avatar
RankRankRank
Total Posts:  2187
Joined  2005-09-05
mjc1016 - 02 October 2012 05:58 PM

Here’s an attempt I made…

I used Cooltuna’s Ram’s horns for M4

I first made a quick and dirty displacement map for them…just some dark grey squiggles and blotches on a medium grey background. I actually did that as a layer in Gimp, so the next step would be easier. Then I played with the levels to get the dark grey to almost black and then filled the medium grey with an almost white.  The flattened image (black/white) became a strength map for the reflection channel.  I plugged a gold reflection map into the reflection color…

The original greyscale map became the displacement map.  I set negative displacement only, and a high strength.

As you can see the ‘high’ areas are golden and the low areas are not…

Very nice mjc! Sometimes it’s easier to just use the surface tab…I think we sometimes forget that…

 Signature 

Shadermixer tutorials and recipes
My ShareCG Gallery
Shadermixer Documents

Profile
 
 
Posted: 03 October 2012 02:27 AM   [ Ignore ]   [ # 12 ]
Active Member
Avatar
RankRank
Total Posts:  264
Joined  2010-06-12

Thanks for the suggestions. For some reason even though subscribed to the thread I got no notifications of postings.

I will give your suggestions a try.

In the mean time I think I have succeeded in getting the effect that I wanted using the geometry shell and pweffects but it is not a generalised solution to the problem:

 

Image Attachments
g12b-3ax.jpg
Profile
 
 
Posted: 03 October 2012 09:27 AM   [ Ignore ]   [ # 13 ]
Addict
Avatar
RankRankRankRank
Total Posts:  4545
Joined  2007-09-13
Pendraia - 02 October 2012 06:02 PM
mjc1016 - 02 October 2012 05:58 PM

Here’s an attempt I made…

I used Cooltuna’s Ram’s horns for M4

I first made a quick and dirty displacement map for them…just some dark grey squiggles and blotches on a medium grey background. I actually did that as a layer in Gimp, so the next step would be easier. Then I played with the levels to get the dark grey to almost black and then filled the medium grey with an almost white.  The flattened image (black/white) became a strength map for the reflection channel.  I plugged a gold reflection map into the reflection color…

The original greyscale map became the displacement map.  I set negative displacement only, and a high strength.

As you can see the ‘high’ areas are golden and the low areas are not…

Very nice mjc! Sometimes it’s easier to just use the surface tab…I think we sometimes forget that…

But…but…that was just a first step on trying to make a generic shader…mix bridks…step or smooth step…yeah..

 Signature 

1432 old posts

My ShareCG gallery.

Just because something costs a lot, doesn’t mean it’s the best…

It just means it’s expensive.

Profile
 
 
Posted: 03 October 2012 03:21 PM   [ Ignore ]   [ # 14 ]
Power Member
Avatar
RankRankRank
Total Posts:  2187
Joined  2005-09-05
mjc1016 - 03 October 2012 09:27 AM
Pendraia - 02 October 2012 06:02 PM
mjc1016 - 02 October 2012 05:58 PM

Here’s an attempt I made…

I used Cooltuna’s Ram’s horns for M4

I first made a quick and dirty displacement map for them…just some dark grey squiggles and blotches on a medium grey background. I actually did that as a layer in Gimp, so the next step would be easier. Then I played with the levels to get the dark grey to almost black and then filled the medium grey with an almost white.  The flattened image (black/white) became a strength map for the reflection channel.  I plugged a gold reflection map into the reflection color…

The original greyscale map became the displacement map.  I set negative displacement only, and a high strength.

As you can see the ‘high’ areas are golden and the low areas are not…

Very nice mjc! Sometimes it’s easier to just use the surface tab…I think we sometimes forget that…

But…but…that was just a first step on trying to make a generic shader…mix bridks…step or smooth step…yeah..


lol.. I must admit that was where my head was initially heading not sure if it could be done without maps though…

 Signature 

Shadermixer tutorials and recipes
My ShareCG Gallery
Shadermixer Documents

Profile
 
 
Posted: 03 October 2012 04:13 PM   [ Ignore ]   [ # 15 ]
Addict
Avatar
RankRankRankRank
Total Posts:  4545
Joined  2007-09-13
Pendraia - 03 October 2012 03:21 PM

lol.. I must admit that was where my head was initially heading not sure if it could be done without maps though…

There should be a way to read an existing map and slot it into the appropriate brick.  It would probably have to be a scripted operation…but my idea would be click on the icon (from the content library) and it checks for the appropriate map (spec or displacement) and if it finds one, slots it into a conversion to black and white (found that works best with everything above a medium-light grey going to white and everything below going to black) and then applies a gold, bronze, brass, silver or chrome reflection map…all while leaving everything else except the reflection channel unchanged…but I haven’t got a clue where to begin with it.

 Signature 

1432 old posts

My ShareCG gallery.

Just because something costs a lot, doesn’t mean it’s the best…

It just means it’s expensive.

Profile
 
 
   
1 of 2
1