-1
$\begingroup$

I am creating a 3d burger and do not know how to create the shader for the mayonnaise. Tried to use the principled shader, tested various IOR settings, messed around with reflection, other shaders and whatnot but it doesn't look like real mayonnaise.

Q: How would one create a mayonnaise material for cycles?

$\endgroup$
0
3
$\begingroup$

Maybe try something like this - the main "ingredients" that make it distinct are a Transmission Value as well as some Subsurface Scattering to simulate the translucency of mayo. The Noise Texture gives it that lumpy "spread" look:

Mayo

$\endgroup$
6
  • $\begingroup$ I tried this, but instead I am getting solid mayonnaise instead of one like yours. $\endgroup$ – Chaudhry Yousuf Mar 2 at 6:19
  • $\begingroup$ Strange - I didn't do anything special - I mainly just upped those 2 values, as well as lower the roughness.. You can take the transmission and SSS values higher if you want, but if it isn't having an effect, I'm not sure. What is your lighting like? Both those values can be light/angle dependent. $\endgroup$ – Christopher Bennett Mar 2 at 6:29
  • $\begingroup$ I have one point lamp, and the edges of the mayonnaise are blue. and nor do i undurtand how to give it a squashed liquid look. I will also try an hdr now. $\endgroup$ – Chaudhry Yousuf Mar 2 at 6:59
  • $\begingroup$ Try checking it in cycles, the solution you provided. And I still don't know how to make it hang down like real mayonnaise. $\endgroup$ – Chaudhry Yousuf Mar 2 at 8:30
  • $\begingroup$ You can use the edit link at the bottom of your question to provide more detail and clarify your question, and it'll get bumped back into active questions. $\endgroup$ – Allen Simpson Mar 2 at 8:47

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.