This node group shader generate the skin and pulp of the citric you want in one step.
Perfect to generate baked textures to lowpoly shapes.
You can change the colors of the pulp and the skin, the number of segments and the width of the different parts of the fruit.
The file include the group node, 6 fruit material examples and one branch cut material example and the shapes for each.
Ready for render in cycles and eeve.
Include instructions pdf file.
Create the citric you want easily or experiment with the colors and the other controls to create alien fruits.
HDRIs not included
Parameters:
skinLight: Main color of the fruit
skinVariation: Secondary color of the fruit.
skinDark: Dots color.
pulpLight: Main color of the pulp`.
pulpDark: Secondary color of the pulp.
skin fit: Value to adjust the skin to the border of the shape, approximately the radius of the shape.
skin fit width: Value to define the width of the external skin.
white skin width: The width of the internal white area of the skin.
white center width: The size of the white central area.
segments: the number of segments of the pulp.
Update: 10-24-2022: Added specular output