Vray Caramel Material

Hello everyone,

Back here for some knowledge. Just wanted to see if anyone had some guidance on how to built the caramel material in this picture. Trying to get into some still life practice and wanted to tackle this material first. Any guidance would be greatly appreciated.

I did a quick test here, of some sort of caramel and used transluscency, playing with the parameters, so you give that a go and see where it leads you :slight_smile:
You can see from the shader that it’s not complex but can certainly be made better depending on preference.
SSS is probably good also but I didn’t have time to try today :stuck_out_tongue:
The better the mesh you’re using then the easier it is to see what is working and what is not.


Hello Fixeighted,

Thanks for taking the time to look at this and share the knowledge. I was a little confused at first since the shader attributes looked different from mine. Quickly realized it was Vray for Max jajaja. Sorry, kid has not been sleeping much. Anyway, I see what you did with the material here. Its looking pretty cool. Going to finish setting up my scene and then apply the discovered setting you have here. I would be very interested to see what the Vray Fast SSS2 would produce. Going to work as quickly as I can and post an update. If you or anyone else has anymore input it would be awesome to hear. OK, going to jam on this..

Oops, yes I meant to say that I’m on Max but forgot :stuck_out_tongue:
Same thing really, with shaders, luckily.
SSS I may do tomorrow if I get time.
One thing I did add was bubbles under the surface…they do come across in better renders and add realism.
Also you can add a coat for extra sheen, plus bump of some sort if necessary, all depending on type of caramel I guess.
Grant Warwick did one which you can find online (image) but I don’t actually think it’s that good as a caramel, or rather, it looked more like fudge imo (a fine line LOL)…I think he used SSS

thats great info. Would be great to see what you can share if you have the time. Currently working on setting up the scene as we speak. Thank you again and hope to hear from you soon.

Sorry it took so long to repost but I was hit with another project for a client. Anyways, this is why I was asking for all the help. Really trying to get better at still life and understanding materials for lookdev. Attached is the image that I am trying to replicate along with what I have currently created in Vray and Maya plus a simulation with PhoenixFD. Its not quite what I want and I am just trying to get as close as possible to the image.

I understand that it will be difficult to match since the environments are different but I would really, really love to get some more help from the community and see what more I can do to improve. Thank you all again for the help. Hope to hear some advice from you all.





I did a quick copy and tweaked my previous shader to sort of match the reference. Feel free to slap this on your model and see how it looks :slight_smile:
Lighting also naturally adds a lot to the overall look. My setup used an hdri and a couple of coloured plane rim lights
https://www.dropbox.com/s/5czlzw1dwb…20MAT.max?dl=0

EDIT: Sorry, I keep forgetting you’re using Maya. If you don’t have max to see the material then I can do grabs to show the settings and they should transfer.

Hello fixeighted,

This is really cool to see. Would love to see the settings that you are using for your shader and see how you got to this. Sorry that I dont have 3ds Max. Would you be able to share your settings you used? Another question, did you sim the Caramel as well on top of the apple with the “nuts” using PhoenixFD???

Hi…yeah it worked out pretty well. I don’t have Phoenix unfortunately, as it’s pretty awesome, so used Max’s fluids, which I hadn’t really looked at before.
I was pleasantly surprised with the outcome…only took me an hour to do this earlier, so all good.
Nuts were just stuck on the apple as colliders.
The quality of the sim is crucial I think, so maybe you could try a smaller grid so it has resolution to get the coverage as in the reference, where all the nuts are covered at least a tiny bit.
You can cheat also, as I did, and hand place some closer to the surface (I collapsed my liquid to a mesh so I could model it for this where useful)

Anyway, here are the settings I used.
It’s pretty simple as you can see, so I’m hopeful it’ll work with your setup :slight_smile:
As I mentioned in an earlier post above, I would toy with maybe scattering some little bubbles also, just for
added break-up sub-surface.

Thanks for sharing this fixeighted. I will givve it a go and see what comes out of it. Great suggestions as well on the other aspects. I will post an update as soon as I have one.

No probs. Looking forward to seeing your results :slight_smile:

Hey fix quick question, from the screen shots you provided I am assuming you are using a vrayblend material?

Heres a quick update. Took the settings from what you shared and did small tweaks on my shader since I believe you are using Vray 5. Im still on Vray Next. I also used PhoenixFD and the particle shader to add the air bubbles from honey based on some reference images. Its looking more like the image but now i am getting weird artifacts around the nuts and where the liquid meets. I think it might be the liquid geometry is penetrating with the peanuts geometry. What do you all think? Open to suggestions and improvements that can be made.

Looking good :slight_smile:
I personally would go for fewer bubbles and a few different sizes of them - but they add very much to the detail, whichever way.

The odd darkening around the nuts is likely to be some odd refraction to do with the thickness of the translucency - possibly fixable
but I would ignore that by having the caramel almost always cover the nut pieces, like in the green highlighted ones here.
This is how I imagine making the real thing, by mixing in the nuts, so they would almost certainly all be coated in some caramel.

The blue highlighted ones look acceptable I think, where the caramel wraps them really well, making little dimples.
All my personal choices of course, so both you and others may have a different thinking :slight_smile:

One idea for the problematic nuts is to make a separate blend material, with nut as the base and a coat which is the caramel with different settings,
with an edgestex on the caramel so it blends with the surrounding sauce. May/may not work as imagined…

Hey Fixeighted,

Thanks again for taking the time to review this. All comments and suggestions are very welcome and spot on. Going with a similar thinking process. Going to give the suggestions a go. I’m thinking of taking the PhoenixFD simulation and exporting an abc file to the frame im using and doing some sculpting to tweak the problematic areas. Would give me the opportunity to fine tune those areas without having to resim.

Going to also see if i can use the wetmap from phoenix to blend between the nuts and caramel for that extra detailing. I will post when I get an update.

Thank you again for the guidance and patience.

No problem to help out if I can…it’s great fun!

If you’re doing no animation then sculpting the best frame is definitely the way to go.
I’m sure it’ll look great when finished :slight_smile:

Can you share your shading network ?
Looks like you push to much the multiplier or bias and this is the reason why you are having some strange black areas around the peanuts.
I dont know !
I need to see your shader.

I was playing a bit with the shader and I bacame this result.
Maybe this will help you. At the moment you have like a normal caramel shader, but this is a special caramel type.

Example #1 Lighting example.

Example #2 Playing with the shader.

Example #3 Shader completed.

The Simulation is quickly made using Phoenix FD.

NOTE:
Depends on your Monitors Colors, etc… you will experience different looks on the images I sent you as a example.

Hello my Gurus,

Ok, so this is where I am at. Took a bit of the suggestions from Fixeighted and tweaked the material with the lighting. I am making a still life image render so it wont be animated. I took a frame from the PhoenixFD Sim, extracted it as an ABC file and did a quick zremesher in Zbrush to get some quads. Looks like that weird refraction result from the previous render around the nuts is gone, which is a good thing.

The material is a Vrayblend, with a vrayfastsss2 as the base and a vraymtl as a coat for extra control over the refraction. I am liking the look so far. I also added a particle shader on the phoenixfd sim to get those air bubble that appear in the honey. Per Fixeighted suggestion, I reduced the bubble count and adjusted the size modifier to get bigger and smaller bubbles.

Attached are the screenshots of the lighting setup. It has 2 area lights with temperature value being used for that orange/ yellow light coloring. I am also using an HDRI for those global reflections. I think I might use the wetmap feature from phoenix to blend with the nuts shader and make them look a bit more wet with the caramel material. I might also use Fixeighted suggestion since theoretically, it sounds like it should work. Anyways, sorry for the long rant. Would love to hear you guys thoughts as I continue with this. Thank you all for the time.

​ ​​

Ok !
I see a couple of things here.
I will try to explain today and tomorrow too.

1 You are using a SSS Shader which has already a coat.
Suggestion: I will turn off that coat on the SSS material.

2 The setup of your lights are way to parallel to each other. The light will be bounce back and forward without not ending.
Suggestion: I will give them an angel so the light that is hitting from the back will hit towards to the floor.
The other huge Light you can live like that.

But if you ask me … I will make smaller the huge Light and make it point to the camera moving th Light back and putting behind the object. Not 100% behind, but a bit.

Since you have a HDR lighting the scene too - you will just play with those 2 lights.

#3 I dont know about the Caramel scatter at .9 I will need to see your scene to evaluate, but looks like .9 is waaaaay to high.
I can tell you because you have a 92.6 almost 1 Meter distance from the camera.
But I cant be wrong on that.

4 In my opinion you should also use the same Bump Map to the Coat on top

5 The Base Color for your coat should almost white.
If you look into the first Image you post you can see that the reflections are almost white.

6 I will increase the Glossines of your Coat at .92 for example.

#7 The Refraction Color of your Coat should be higher. I gues you are more or less at .720 and you should increase this to .880 for Example.

NOTE:
All my suggestions are just a calculation based on your Images. I will need to have look into the scene itself to evaluate correct the settings.
These are only suggestions. :sunglasses:

Hello Xavbo,

I ended up quickly trying what you suggested. Im pretty sure I changed what your recommendations were and it changes the look of my scene quite a lot. Moved and scaled the lights per suggestions and changed the values on the shader. Looks way different dont you think??? By the way, I am using cm in scale.