Page Contents ×

 

This tutorial shows the steps of how to create translucent plastic material using VRayFastSSS2 with V-Ray for 3ds Max. 

 

Overview


 

In this tutorial we show you how to create translucent plastic using the V-Ray Fast SSS2 material. We explore how the VRayFastSSS2 parameters work together to get a colored plastic shampoo bottle.

First, we make the material translucent, then we show you how to introduce color tint. Later, we adjust the specular component of the material and finish the plastic look by adjusting a few key options.

 

 

Prerequisites


For the purpose of the tutorial, we focus only on the shampoo bottle material.

The bottle cap uses a VRayFastSSS2 material with the color mode set to Sub-surface color and scatter radius and the single scatter set to Raytraced (solid).

The shampoo's liquid content is a VRayMtl with black diffuse color, light gray reflection color and reflection glossiness set to 0.85; light gray Refraction Color and Refraction glossiness set to 0.99. The IOR is set to 1.457, the IOR of glycerine, which makes the content resemble a gel-like liquid.

For the final image, we use a VRayBlendMtl to add the bottle labels. The plastic bottle material shown in the tutorial is used as the Base Material, and two Coat Materials are used - one for the golden label and one for the overall front label.

Unit scale is crucial for the accuracy of the VRayFastSSS2 material. In this scene, we work in centimeters.

The scatter radius and scale parameters are set according to the dimensions of the bottle geometry.

Make it Translucent


Let's start by assigning a V-Ray Fast SSS2 material to the bottle. We'll rename it to "Bottle_Mtl" for ease of use.

First, we want the bottle to be translucent, so let's see how to get this effect.

The Single Scatter parameter can be changed to get different looks out of the material. Change the mode to Raytraced (refractive) - this introduces refractive properties to the material.

Next, set the Color mode to Scatter coefficient + fog color. This mode is designed for translucent or refractive materials.

For the proper work of this Color mode we need to set the correct Scatter radius values. For the bottle in this scene, we keep it at 1 cm - the thickness of the bottle geometry is around 0.1 cm.

Another important thing for the accuracy of the material is to set the right IOR. The Index of Refraction stands for how the material refracts the transmitted light. Air has IOR of 1 by definition, which means it is no obstacle for light transmission.

Cosmetics plastic bottles are commonly made of PET, so we use PET's IOR here, which is 1.575. Feel free to experiment with different plastic IOR values to get the desired look.

We are ready to do one test render and see how the bottle looks.

 

 


 

Here is how the test render looks like.

You can see the liquid content clearly, but in terms of having a plastic bottle - the look is not quite there yet.

 

Color the Bottle


To match the bottle color to the color of the cap, we can play with the Scatter coefficient and Fog color parameters.

The Scatter coefficient defines the outer refractive layer of the material, while the fog color gives it some coloring.

In general, lighter Scatter coefficient color values make the object look more opaque, while darker colors make it look more refractive. At the same time, black fog color makes the material fully refractive, but any dark color other than black makes it opaque.

To make the bottle look green, set the Scatter coefficient to light green [103, 196, 86] and the Fog color to dark green with a yellow tint [44, 42, 9] to give the bottle some density.

There is no need to change the Diffuse or Overall color when working with translucent materials, as the material has no diffuse color and the Overall color parameter is used only as a filter for both the diffuse and the sub-surface components and we don't have such here.

Re-render.

 

 


 

The color looks good and the bottle is still see-through.

However, the reflections need a bit more attention and we can improve further the overall look of the plastic.

 

Specular Layer and Phase Function


 

The Specular layer controls the reflections or the specular component of the material. For the bottle, we can emphasize the reflections more by increasing the Specular glossiness to around 0.75.

Decreasing this parameter makes the material look more matted, while increasing it makes the material glossier.

If we look at how light travels through different media, we realize that plastic as a volume behaves like a rigid body. The light scatters mostly backward through it, which means that we need to change the Phase function to -0.5.

 

 


 

The highlights are better pronounced and emphasize the curvature of the bottle. The overall look achieves the plastic goal - the bottle is not as glossy as glass, and is not too soft as rubber.

 

Final Touch


For the final image, we enable the Scatter GI option in the Options rollout. This way V-Ray includes the GI in the surface illumination map, which leads to more accurate results, especially for translucent materials such as ours.

Then, increase the Refraction depth to 8. The more we increase this parameter, the more ray bounces we get inside the volume. The higher we go with this number, the more accurate result we get for refractive materials, but at the expense of render time.

We assign a VRayBlendMtl to the bottle with the plastic material we created as the Base and Coat materials for the labels.

We are now ready to render with the labels added on top.