Page 1 of 1

Layering texture on a material

Posted: Sun Jun 20, 2021 10:33 am
by SparkieShock
Hi .. I'm having incredible difficulty trying to layer a texture onto a gold coin.

So .. I've tried to follow the layering for tattoo's but this doesn't help as this seems to be to blend to textures (And an alpha mask) which will then converge into a material node.
But in the case of a gold shader .. the material node is already doing a lot of the work .. attaching the texture (even with mask and coordinates) isn't working. I just keep getting everything except the result I need.

here's a look at the node structure I have.

Can anyone help me?
Capture.JPG

Re: Layering texture on a material

Posted: Sun Jun 20, 2021 12:11 pm
by Banti
Could you show what the textures you are using and the result you are getting looks like. If you pm me the textures I can try and see if I can get it right. Also, why dont you use a metallic material for the gold, it should give way more realistic results than glossy materials.

Re: Layering texture on a material

Posted: Sun Jun 20, 2021 12:24 pm
by SparkieShock
Banti wrote:Could you show what the textures you are using and the result you are getting looks like. If you pm me the textures I can try and see if I can get it right. Also, why don't you use a metallic material for the gold, it should give way more realistic results than glossy materials.
The textures are nothing special .. just a logo. One that is alpha channeled .. and another that I have set as JPG (I tried using the PNG for both but was getting nowhere). Really it could be any texture. I just want to be able to put any texture on top of a material. As for why not metallic material, .. there just didn't seem to be a need. I assigned 'Gold 2' as a shader and it looked fine. I'll try the metallic material but I can't see how there'd be any difference. The gold looks fine .. but not being able to put the texture on the surface is driving me crazy .. it seems not to be possible?

I can send you the PNG if you really need it .. but if you can just show me how to put any logo texture onto a material .. I'd be most grateful.
I get how the alpha mask is supposed to work but it ends up making the gold look blue? .. and faded. It's like there's more material coming out than should. Basically .. I can't get it to work.

Re: Layering texture on a material

Posted: Sun Jun 20, 2021 12:38 pm
by Banti
I see, I will try to make something I think you are looking for.

Re: Layering texture on a material

Posted: Sun Jun 20, 2021 12:59 pm
by Banti
So I put the DAZ logo on a gold coin. Is this close to what you are trying to achieve?
gold.png

Re: Layering texture on a material

Posted: Sun Jun 20, 2021 1:13 pm
by SparkieShock
Banti wrote:So I put the DAZ logo on a gold coin. Is this close to what you are trying to achieve?
gold.png
Yes indeed .. this is what I'm trying to do. Can you show me how you did this please.

Re: Layering texture on a material

Posted: Sun Jun 20, 2021 1:21 pm
by Banti
I mixed a Diffuse material and a metallic materials. I put the logo into the diffuse channel (as rgb image), tweaked the scale and translation so its centered and the exact same image into the amount channel of the mix node (as rgba image because it has alpha channel). I switched border mode from wrap around to white color (so it doesnt repeat). And thats pretty much it.

Re: Layering texture on a material

Posted: Sun Jun 20, 2021 2:01 pm
by SparkieShock
Ahhh .. I did also wonder about that wrap thing .. I didn't know how to stop an image repeating.
Looking at this node setup seems simplicity itself. Many thanks for this .. I shall try this a bit later on, heading to bed shortly as I've been up all night working on this thing. But yeah .. looking at this I can see how that's supposed to work now.
Many MANY thanks for showing me the way.
Banti wrote:I mixed a Diffuse material and a metallic materials. I put the logo into the diffuse channel (as rgb image), tweaked the scale and translation so its centered and the exact same image into the amount channel of the mix node (as rgba image because it has alpha channel). I switched border mode from wrap around to white color (so it doesnt repeat). And thats pretty much it.

Re: Layering texture on a material

Posted: Sun Jun 20, 2021 2:06 pm
by Banti
SparkieShock wrote:Ahhh .. I did also wonder about that wrap thing .. I didn't know how to stop an image repeating.
Looking at this node setup seems simplicity itself. Many thanks for this .. I shall try this a bit later on, heading to bed shortly as I've been up all night working on this thing. But yeah .. looking at this I can see how that's supposed to work now.
Many MANY thanks for showing me the way.
Banti wrote:I mixed a Diffuse material and a metallic materials. I put the logo into the diffuse channel (as rgb image), tweaked the scale and translation so its centered and the exact same image into the amount channel of the mix node (as rgba image because it has alpha channel). I switched border mode from wrap around to white color (so it doesnt repeat). And thats pretty much it.
No problem, you're welcome. Let me know if it worked for you.