placing colours on specific parts on tomato

Hi, I was wondering how can i make the parts just underneath the stem fade from yellow to rest of the tomato colour?
here is my first render


and i want to make the colour changed like below sample image


here is my current node


any advice would be very helpful, thanks.

Ps. i know the stem and leaves around it doesn’t look nice, i will work on them , too

EDIT: you can download the original file http://www.pasteall.org/blend/36484

Hi

I played a little with the node editor…I get this don’t know if You can use this as a start…:slight_smile:


I use - Input - Geometry - pointiness node to Fac in ColorRamp - ColorRamp is set to B-spline.

You should play a litlle with the interpolation Mode in ColorRamp also the Color Mode - RGB - HSL - HSV Give differnt result.

Ps…Forgot to say Nice Tomato…:slight_smile:

Tai

http://www.pasteall.org/blend/36482
Hope helps.

thank you very much, i will try to apply geometry - pointiness on it , will try because I’m quite new at Blender and sometimes it’s hard to find my way around :slight_smile:
and i’m happy you liked the shape of tomato, if only i can get the material right now

PS. I’ve edited the original post and added a link to blender file

Thank you very much, i will try to apply geometry - pointiness on it , will try because I’m quite new at Blender and sometimes it’s hard to find my way around
and i’m happy you liked the shape of tomato, if only i can get the material right now

PS. I’ve edited the original post and added a link to blender file

thanks for the file, i’m gonna study it asap and hopefully will managed to apply it :slight_smile:
btw I have edited my post by adding a source file i’d be very glad if you could have a look at it,
many thanks

I have tried to apply it but somehow i can only have it if the gradient is in linear which is not appropriate for tomato , please see the node setting here http://www.pasteall.org/blend/36486, I don’t know what is wrong :frowning:
and can you explain why you needed to use more than one Material out put panel after emission shaders. thanks


Alternatively you can use vertex paint to control the mix of the base colour with a another colour.
In the example where you paint black = 100% top input (yellow), white is 100% bottom input (red) and grey is a mix of the two.
The attribute node uses the name of the vertex colour layer (Col)

You don’t have to make any changes to your original colour ramp or texture mappings etc


By using Mapping node’s Z Position you can position Blend texture -position was off since your tomato was bigger than sphere i used; Emission and Output makes easy to see what mask does.
http://www.pasteall.org/blend/36488

thank you very much explaining and sending the file, that’s been very helpful, and didnt know you can use multiple output node to see the changes that’s good, too

here’s the result


now it’s time to move to work on the stem

thanks for your reply, vertex paint seems like a good solution, too but I have to study it more