Skip to content
07-848 2005

V-Ray for SketchUp, materials

Generic refraction

Adjust refraction and translucency in the Generic material in V-Ray for SketchUp.

On this page
  1. Refraction
  2. Example: Refraction Color
  3. Example: IOR
  4. Example: Refraction Glossiness
  5. Example: Thin-Walled
  6. Example: Thin-Walled Color
  7. Translucency
  8. Example: Fog Color
  9. Example: Depth (cm)
  10. Volumetric
  11. Example: Volumetric Translucency (Scatter Color)
  12. Example: Uniform
  13. Example: Directional
  14. SSS
  15. Example: Scale (cm)
  16. Abbe
  17. Example: Abbe
  18. Legacy parameters
  19. Notes

Use the Refraction rollout to adjust refraction and translucency in the Generic material in V-Ray for SketchUp.

Refraction

Some options are available only in Advanced mode.

Refraction Color sets the refraction colour. The reflection colour also affects the result. Set the colour to black to disable the refraction layer. See the Refraction Color example below.

IOR* sets the material's index of refraction, which describes how light bends as it crosses the surface. At 1.0, light does not change direction. See the IOR example below.

Refraction Glossiness* sets the sharpness of refractions. A value of 1.0 produces perfect glass-like refraction. Lower values produce blurry or glossy refractions. See the Refraction Glossiness example below.

Thin-Walled simulates transparent materials with a single surface. Enable it with Translucency set to SSS to simulate thin translucent surfaces such as soap bubbles, leaves and curtains. SSS Color sets the backside colour, and SSS Amount controls the translucency effect. See the Thin-Walled example below.

Refraction panel with Refraction Color, IOR set to 1.6, Refraction Glossiness set to 1 and Thin-Walled unticked.

Example: Refraction Color

This example shows how Refraction Color affects glass materials. The material has a grey Diffuse Color and a white Reflection Color, with Fresnel enabled.

Opaque turquoise teapot with glossy highlights in the Refraction Color comparison.

Refraction Color

= Black (0, 0, 0),

No refraction

Partly transparent turquoise teapot with wood grain visible through its body in the Refraction Color comparison.

Refraction Color

= Light Blue (192, 192, 192)

Clear glass teapot with the wooden surface visible through its body in the Refraction Color comparison.

Refraction Color

= White (255, 255, 255)

Example: IOR

This example shows how Refraction IOR affects the material. Light bends more as IOR moves away from 1.0. At an index of refraction (IOR) of 1.0, the rendered object is transparent. For transparent objects, an opacity map may be a better choice than refraction.

Dark teal glass teapot with distorted wood grain visible through its body in the IOR comparison.

Refraction IOR

= 0.8

Dark teal teapot in the IOR 0.8 example, with wood grain visible through its body.

Refraction IOR

= 1.0

IOR example showing wood grain refracted through a transparent teal glass teapot.

Refraction IOR

= 1.8

Example: Refraction Glossiness

This example shows how Refraction Glossiness affects the material. Lower values blur refractions and make the material look like frosted glass.

Refraction Glossiness example showing clear wood grain through a transparent teal glass teapot.

Refraction Glossiness

= 1.0

Refraction Glossiness example showing blurred wood grain through a frosted teal glass teapot.

Refraction Glossiness

= 0.9

Refraction Glossiness example showing a teal glass teapot with heavily blurred refractions.

Refraction Glossiness

= 0.7

Example: Thin-Walled

This example shows the effect of Refraction Thin-Walled.

Thin-Walled refraction example showing soft window-frame outlines through sheer curtains.

SSS Amount

= 0

Thin-Walled refraction example showing more defined window-frame outlines through sheer curtains.

SSS Amount

= 0.25

Thin-Walled refraction at 0.25 renders sheer curtains with bright window light passing through the fabric.

SSS Amount

= 1

Example: Thin-Walled Color

This example shows the effect of the Refraction Thin-Walled colour option.

Thin-Walled Color example showing neutral grey sheer curtains in front of a sunlit window.

SSS Amount

= 0.5,

Color

= R82 G82 B81

Thin-Walled Color set to R82 G82 B81 gives the sheer curtains a soft cream tint.

SSS Amount

= 0.5,

Color

= R195 G178 B153

Thin-Walled Color set to R195 G178 B153 gives the sheer curtains a warm beige tint.

SSS Amount

= 0.5,

Color

= R255 G210 B143

Translucency

Choose the algorithm used to calculate translucency, also called sub-surface scattering.

None

No sub-surface scattering occurs.

Fog Color controls how much light weakens as it passes through the material. This makes thick objects look less transparent than thin objects. The effect depends on the objects' absolute size and varies by scene unless you enable Fog Units Scaling. The fog colour also controls the object's appearance when you use fog scattering. See the Fog Color example below.

Fog Depth (cm) controls the fog effect. Smaller values reduce the effect and make the material more transparent. Larger values increase the effect and make the material more opaque. See the Fog Depth (cm) example below.

Refraction controls showing white Fog Color, Depth (cm) set to 1 and Translucency set to None.

Example: Fog Color

This example shows the effect of the fog colour. In the two images on the right, thick areas of the object are darker because the fog absorbs light.

Fog Color example showing a transparent glass teapot with grey shading in thicker areas of the glass.

Fog colour = White (255, 255, 255), no light absorption

Clear glass teapot rendered with white fog colour and no light absorption.

Fog colour = Dark Gray (192, 192, 192)

Dark teal glass teapot rendered with dark grey fog colour (192, 192, 192).

Fog colour = Blue (70, 129, 137)

Example: Depth (cm)

This example shows the effect of Refraction depth. A value that is too low produces incorrect results. Reflection depth also affects areas with total internal reflection.

Glass teapot rendered with low refraction depth, showing incorrect internal detail.

Refraction depth = 2, Reflection depth = 5

Teal glass teapot rendered with Refraction depth set to 2 and Reflection depth set to 5.

Refraction depth = 4, Reflection depth = 5

Teal glass teapot rendered with Refraction depth set to 4 and Reflection depth set to 5.

Refraction depth = 8, Reflection depth = 5

Volumetric

Volumetric enables volumetric scattering for liquids and other highly transparent materials that scatter refracted light. Refraction Color must be different from black for the effect to be visible.

Fog Color controls how much light weakens as it passes through the material. This makes thick objects look less transparent than thin objects. The effect depends on the objects' absolute size and varies by scene unless you enable Fog Units Scaling. The fog colour also controls the object's appearance when you use fog scattering.

Depth (cm) controls the strength of the fog effect. Higher values reduce the effect and make the material more transparent. Smaller values increase the effect and make the material more opaque.

Scatter Color adds a colour filter in Volumetric scattering mode. In SSS translucency mode, it sets the main sub-surface colour and may determine the material's overall appearance. See the Scatter Color example below.

SSS Amount controls how much the scattering effect contributes.

Illumination controls how direct illumination is calculated for Volumetric translucency.

Uniform distributes light evenly within the material for a softer, more diffused appearance. See the Uniform example below.
Directional sends more light in the direction of the incoming illumination for a more realistic effect in highly translucent materials. See the Directional example below.

Material panel showing Volumetric translucency, white Scatter Color, SSS Amount set to 1 and Uniform illumination.

Example: Volumetric Translucency (Scatter Color)

This example shows how Scatter works in Volumetric Translucency mode.

Glass pump bottle with golden yellow liquid demonstrating volumetric translucency.

Scatter Color = Yellow

Glass pump bottle with amber liquid showing the effect of yellow Scatter Color.

Scatter Color = Orange

Glass pump bottle with reddish orange liquid showing the effect of orange Scatter Color.

Scatter Color = Red

Example: Uniform

This example shows light distributed evenly within the water material.

Example: Directional

This example shows directional light distribution within the water material.

SSS

SSS enables scattering in non-transparent materials such as skin, wax, marble and other relatively opaque materials. It works independently of Refraction Color and Refraction Glossiness.

Scatter Radius controls how deep rays travel within the material when calculating light for sub-surface scattering.

Scale (cm) controls the strength of sub-surface scattering. Greyscale values work best. See the Scale example below.

SSS Color adds a tint to the scattering effect. Fog Color is the main control for the scattering colour.

SSS Amount controls how much the scattering effect contributes.

SSS settings panel showing Scatter Radius, Scale (cm), SSS Color and SSS Amount set to 1.

Example: Scale (cm)

This example shows the effect of Scale in SSS Translucency Mode.

Four orange candles rendered to show the effect of Scale in SSS Translucency Mode.

Scale

= 0.5

Four orange candles rendered with Scale set to 0.5 cm in SSS Translucency Mode.

Scale

= 3

Four orange candles rendered with Scale set to 3 cm in SSS Translucency Mode.

Scale

= 10

Affect Shadows lets the material cast transparent shadows based on the refraction and fog colours. It works only with V-Ray shadows and lights.

Fog Units Scaling makes fog colour attenuation depend on the current system unit when enabled.

Max Depth sets how many times a ray can be refracted. Scenes with many refractive and reflective surfaces may need higher values to render correctly.

Affect Channels sets which channels the material's transparency affects.

Color Only makes the material's transparency affect only the final render's RGB channel.
Color+Alpha transmits the alpha of refracted objects instead of displaying an opaque alpha. This currently works only with clear (non-glossy) refractions.
All Channels makes the material's transparency affect all channels and render elements.

Trace Refractions turns refraction tracing on or off for the current material. Turning it off disables refraction but leaves transparent shadows enabled. To make shadows opaque, clear the Affect Shadows checkbox or set Refraction Color to black.

Refraction settings with Trace Refractions and Affect Shadows ticked, Max Depth at 5 and Affect Channels set to Color Only.

Abbe

Enable this option to calculate true light wavelength dispersion. See the Abbe example below.

Abbe controls the dispersion effect. Lower values widen the dispersion. Higher values narrow it.

Abbe panel enabled with the Abbe value set to 50.

Example: Abbe

This example shows dispersion in the V-Ray material and the effect of Abbe.

Glass teapot rendered on a wooden surface to demonstrate the Abbe dispersion effect.

Dispersion = disabled

Clear glass teapot rendered with dispersion disabled, showing colourless refraction.

Dispersion = enabled, Abbe = 25

Glass teapot rendered with dispersion enabled and Abbe set to 25, showing rainbow refraction.

Dispersion = enabled, Abbe = 1

Legacy parameters

These legacy parameters are available only for scenes created with V-Ray 5.2 or earlier.

Fog Scattering enables Refraction translucency.

Type selects the algorithm for calculating Fog Scattering, also called sub-surface scattering. Enable Refraction and set Refraction Fog to a colour other than white for the effect to be visible.

Hard (wax) model suits hard materials such as marble.
Hybrid is the most realistic SSS model. Use it to simulate materials such as skin, milk, fruit and juice.

Back-side Color adds a tint to the SSS effect. The sub-surface scattering colour normally depends on the fog colour.

Scatter Coeff controls scattering inside the object. At 0.0, rays scatter in all directions. At 1.0, a ray cannot change direction inside the sub-surface volume.

Fwd/back Coeff controls a ray's scattering direction. At 0.0, a ray can only move forwards, away from the surface and into the object. At 0.5, it has an equal chance of moving forwards or backwards. At 1.0, it scatters backwards, towards the surface and out of the object.

Thickness limits how far rays are traced below the surface. Use it when you do not want or need to trace the whole sub-surface volume.

Light Multiplier multiplies the translucency effect.

Fog Bias changes how the fog colour is applied. Negative values make thin parts more transparent and thick parts more opaque. Positive values make thin parts more opaque and thick parts more transparent.

Fog Scattering panel set to Hybrid, with Scatter Coeff 0, Fwd/back Coeff 1, Thickness 1000 and Light Multiplier 1.

Notes

  • Values are calculated in inches, the default SketchUp unit.
  • Creating a Bitmap texture in this material slot automatically adjusts its colour space. Copying and pasting, replacing or wrapping a texture does not trigger this adjustment.

Procadsys customer support

Still need help?

Licences, renewals and billing

Our New Zealand team looks after your V-Ray licences, renewals and invoices.

Monday to Friday, 9:00 am to 4:30 pm NZ time, excluding New Zealand public holidays.

Technical problems

Installation errors, crashes and other technical problems with V-Ray are handled by Chaos support.