Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Section

||V-Ray Toolbar|| > V-RayMtl (hold left click to display a dropdown list)

Image Added

 

Image Removed

||V-Ray menu|| > Create > Materials > VRay2SidedMtl

Column
width60%

The VRayMtl2Sided material is a utility material provided with the V-Ray renderer. The material allows seeing the light on the backside of objects.

Use this material to simulate thin translucent surfaces like paper, cloth curtains, tree leaves etc.

 

>


UI Expand
titleUI Path: ||Material Editor window|| > Material/Map Browser > Materials > ...

 

||Material Editor|| > Material/Map Browser > Materials > V-Ray

 > VRay2SidedMtl

Section
Column
width60%

 

Image Removed

Column
width1%

 

Column
width39%
Column
width5%

 

Column
width35%


© Stephen Andrianakos

...

Section
Column
width60%

Front – The material used for front-side faces as defined by the object normals.

Back material –The material used for back side faces as defined by their normals.

Use back material checkbox – When disabled, V-Ray considers both sides assigned with the front material. When enabled, you can assign a different material from the front one.

Translucency – Determines which side (front or back) relative to the camera is more visible in the rendering process. By default this value is 0.5, which means that both the side facing the camera, and the one facing away from it, will be visible to the same degree. When this parameter is closer to 0.0, more of the material facing the camera is going be seen. When it is closer to 1.0, more of the back material is seen.

Multiply by front diffuse – When enabled, the translucency is multiplied by the diffuse of the front material. This option is not available when the renderer is set to GPU.

Force single-sided sub-materials – When enabled (the default), the sub-materials render as one-sided materials. Disabling this option is not recommended.

Column
width5%

 

Column
width35%

Image RemovedImage Added

 

 

...


Example: Translucency Value (Front vs. Back Material)


In

...

this example, the leaves have both front and back materials connected to the 2Sided Material. Notice how the leaves change when the Translucency value (shown in RGB) is changed. The last render uses a Translucency grayscale map. 

Section
Column
width10%30%

 

Image Removed Opacity = Off
Translucency = 0.2

more of FrontMtl

Image Removed Opacity = Off
Translucency = 0.8

more of BackMtl

Column
width40%
Column
width40%
Column
width10%

 

Section
Column
width10%

 

Column
width40%

Image Removed Opacity = 0.5
Translucency = 0.2

more of FrontMtl

Column
width40%

Image Removed Opacity = 0.5
Translucency = 0.8

more of BackMtl

Column
width10%

 

 

 

 

 

Example: Usage examples

 

These are some examples of common usage for the V-Ray 2-sided Material

 

Section
Column
width10%

 

Column
width40%

Image Removed
Slim Curtain Look

 

Column
width40%

Image RemovedPaper Lamp

 

Column
width10%

 

...

Image slider
Panel
borderStylenone

Image Added

Translucency (0, 0, 0)

Panel
borderStylenone

Image Added

Translucency (128, 128, 128)

Panel
borderStylenone

Image Added

Translucency (255, 255, 255)

Panel
borderStylenone

Image Added

Translucency map

Column
width30%

 

 

...

 

In this example, the lampshade uses a 2Sided material with only a Front material connected (VRayMtl). A V-Ray sphere light is used to illuminate the inside. Translucency is shown here with grayscale values (RGB).

Section
Column
width30%

 

Column
width40%
Image slider
Panel
borderStylenone

Image Added

Translucency (0, 0, 0)

Panel
borderStylenone

Image Added

Translucency (64, 64, 64)

Panel
borderStylenone

Image Added

Translucency (128, 128, 128)

Panel
borderStylenone

Image Added

Translucency (192, 192, 192)

Column
width30%

 

 

...

 

Example: Common Usage

 

Section
Column
width10%5%

 

Column
width40%

Image Added

2Sided material is commonly used for leaves. Notice how the light illuminates the shrub from behind.

Image RemovedTextile Lamps
Column
width10%

 

Column
width40%

Image Added

The curtain uses 2Sided material to allow some outdoor light on the inside of this interior.

Image RemovedLeaves

 

Column
width10%5%

 

 

Notes

...

Fancy Bullets
typecircle
  • This material gives best results when assigned to single-sided objects (non-shelled) like planes, extruded splines, etc. Otherwise, it can lead to much longer render times.