Skip to content
07-848 2005

V-Ray for SketchUp, settings

Global illumination

Use the Global Illumination settings in the V-Ray Asset Editor for SketchUp to control indirect lighting.

On this page
  1. Overview
  2. UI path
  3. Global Illumination
  4. Light Cache/Brute Force
  5. Caustics
  6. Progressive Caustics
  7. Progressive Caustics example: Caustic Subdivs
  8. Progressive Caustics example: Multiplier
  9. Progressive Caustics example: Search Distance
  10. Photon Map Caustics
  11. Calculation Mode/Disk Caching
  12. Photon Map Caustics example: Caustic Subdivs
  13. Photon Map Caustics example: Max Photons
  14. V-Ray Sun caustic photons example: Caustic Subdivs
  15. V-Ray Sun caustic photons example: Emit Radius
  16. GI Caustics
  17. Ambient Occlusion
  18. Ambient Occlusion example
  19. Notes
  20. Progressive Caustics advantages
  21. Progressive Caustics limitations

Use the Global Illumination settings in the V-Ray Asset Editor for SketchUp to control indirect lighting.

Overview

Global illumination is light that bounces off objects or the environment to light other parts of a scene. In computer graphics, Global Illumination (GI) is the calculation of this effect.

V-Ray uses several engines to calculate indirect illumination. Each balances quality and speed differently. The engines you select for Primary and Secondary Rays determine which additional rollouts are available:

Basic and Advanced mode toggle icon.

UI path

||V-Ray Asset Editor|| > Settings > Global Illumination

Global Illumination

Enabled turns indirect illumination on or off.

Primary Rays sets the GI method for primary bounces.

Irradiance map (deprecated) uses an irradiance map for primary diffuse bounces. This legacy option will be removed in the future.
Brute force calculates primary diffuse bounces directly.
Light cache uses the light cache for primary diffuse bounces.

Secondary Rays sets the GI method for secondary bounces.

None skips secondary bounces. Use it to produce skylit images without indirect colour bleeding.
Brute force calculates secondary diffuse bounces directly.
Light cache uses the light cache for secondary diffuse bounces.

Global Illumination panel enabled, with Primary Rays set to Brute force and Secondary Rays set to Light cache.

Light Cache/Brute Force

Use the second Global Illumination rollout to adjust the Secondary GI engine, either Brute Force or Light Cache. See each engine's page for details.

Light Cache panel with Subdivs set to 800, Sample Size to 0.01 in Screen Space, and Retrace to 2.

Light Cache as the Secondary GI engine

Brute Force panel with GI Depth set to 3.

Brute Force as the Secondary GI engine

Caustics

V-Ray renders caustics using photon mapping or the progressive method.

The Progressive caustics solver uses advanced sampling to trace as many photons as needed, without the memory constraints of traditional Photon Mapping.

The solver is loosely based on two papers: Progressive Photon Mapping by Knaus and Zwicker and Metropolis-guided caustics tracing by Šik and Krivánek.

Photon Mapping uses two passes.
In the first pass, V-Ray sends light particles (photons) from the scene's light sources. It traces their bounces and records where they hit object surfaces.
In the second pass, V-Ray renders the final image. It calculates caustics by estimating the density of the photon hits stored during the first pass.

Caustics turns caustics rendering on or off. See the Progressive Caustics examples below.

Progressive Caustics

Multiplier controls caustics strength across all light sources that generate caustics. To set a different multiplier for each light, edit each light's V-Ray properties. This multiplier is cumulative with the multipliers in the local light settings.

Changing multipliers can help you achieve an artistic effect, but it makes the scene physically inaccurate.

Search Dist (Pixels) sets the initial photon lookup radius in pixels. Progressive mode works only in Pixels.

Caustics panel enabled, with Multiplier set to 1, Search Dist (Pixels) to 4, and calculation Mode to Progressive.

Progressive Caustics example: Caustic Subdivs

(Caustic Subdivs parameter of the Lights' Caustic Photon option)
Multiplier = 20; Search Distance = 100

Rendered diamond casting coloured caustic light patterns across a grey surface.

Caustic Subdivs = 3000

Diamond render with soft caustic light patterns on the surface at Caustic Subdivs = 3000.

Caustic Subdivs = 4000

Diamond render with sharply defined caustic light patterns on the surface at Caustic Subdivs = 4000.

Caustic Subdivs = 10000

Progressive Caustics example: Multiplier

Caustic Subdivs of the Lights = 6000; Search Distance = 100

Diamond render with faint caustics at Caustic Subdivs of the Lights = 6000 and Search Distance = 100.

Multiplier = 10

Diamond render with caustic light patterns spreading across the surface at Multiplier = 10.

Multiplier = 20

Diamond render with brighter caustic light patterns spreading across the surface at Multiplier = 20.

Multiplier = 30

Progressive Caustics example: Search Distance

Caustic Subdivs of the Lights = 4000; Multiplier = 20

Diamond render with sharp caustic rays and visible speckling at Caustic Subdivs of the Lights = 4000 and Multiplier = 20.

Search Distance = 4

Diamond render showing progressive caustics with Search Distance set to 4.

Search Distance = 10

Diamond render showing progressive caustics with Search Distance set to 10.

Search Distance = 20

Photon Map Caustics

See the Photon Map Caustics examples below.

Multiplier controls caustics strength across all light sources that generate caustics.

Search Distance Units sets the units for Search distance to World units or Pixels.

Search Dist (World)/(Pixels) sets the radius of the area V-Ray searches for photons when rendering caustics at a surface point. The search area is a circle centred on the original photon, with a radius equal to Search distance. Smaller values produce sharper caustics but may add noise. Larger values produce smoother, blurrier caustics.

Max Photons sets the maximum number of photons V-Ray uses to render caustics on a surface. Smaller values use fewer photons and produce sharper, noisier caustics. Larger values produce smoother, blurrier caustics. A value of 0 uses all photons V-Ray finds within the search area.

Max Density limits the resolution and memory use of the caustics photon map. Before storing a new photon, V-Ray checks for existing photons within the distance set by Max density. If it finds a suitable photon, it adds the new photon's energy to it. Otherwise, it stores the new photon. This lets you cast many photons for smoother results while keeping the photon map size manageable. V-Ray GPU does not support this option.

Calculation Mode/Disk Caching

Mode controls the irradiance map mode:

New map generates a new photon map. It overwrites any photon map left from a previous render.
From file loads the photon map from a file instead of calculating it. Select the Browse button on the right to choose the file name.
Progressive uses advanced sampling to trace as many photons as needed, without the memory constraints of traditional Photon Mapping.

Keep File keeps the photon map in memory after rendering finishes. When it is off, V-Ray deletes the map and frees its memory. Turn it on to calculate a scene's photon map once and reuse it for later renders.

Auto-Save File automatically saves the caustics photon map to the specified file when rendering finishes. Use it to set the file location.

Caustics panel with Calculation Mode / Disk Caching expanded, Mode set to New Map and Keep File ticked.

Photon Map Caustics example: Caustic Subdivs

(Caustic Subdivs parameter of the Lights' Caustic Photon option)
Multiplier = 20; Search Distance Units = World; Search Distance = 0.5; Max Photons = 5000; Max Density = 0

Diamond render showing soft photon map caustics with Search Distance set to 0.5 world units.

Caustic Subdivs = 4000

Diamond render showing photon map caustics with Caustic Subdivs set to 4000.

Caustic Subdivs = 6000

Diamond render showing photon map caustics with Caustic Subdivs set to 6000.

Caustic Subdivs = 10000

Photon Map Caustics example: Max Photons

Multiplier = 20; Search Distance Units = World; Search Distance = 0.5; Max Density = 0; Caustic Subdivs of both lights = 4000

Diamond render showing sharp, scattered caustic light patterns on a grey surface.

Max Photons = 500

Diamond render with Max Photons set to 500, showing smoother caustic light patterns.

Max Photons = 2000

Diamond render with Max Photons set to 2000, showing softer, more blurred caustic light patterns.

Max Photons = 5000

V-Ray Sun caustic photons example: Caustic Subdivs

(Caustic Subdivs parameter of the Lights' Caustic Photon option)
Mode = Progressive; Multiplier = default value; Search Distance = default value; Emit Radius = 1000

Swimming pool render showing V-Ray Sun caustic light patterns across the tiled floor and steps.

Caustic Subdivs = 1000

Swimming pool render with Caustic Subdivs set to 1000, showing caustic light patterns on the tiled floor.

Caustic Subdivs = 5000

Swimming pool render with Caustic Subdivs set to 5000, showing more defined caustic light patterns on the tiled floor.

Caustic Subdivs = 16000

V-Ray Sun caustic photons example: Emit Radius

Mode = Progressive; Multiplier = default value; Search Distance = default value; Caustic Subdivs = 16000

The scene uses centimetres.

Pool render showing caustic light patterns confined to a curved area near the steps.

Emit Radius = 350

Pool render at Emit Radius 350, showing caustic light patterns across most of the water.

Emit Radius = 500

Pool render at Emit Radius 500, showing caustic light patterns across the whole pool.

Emit Radius = 1500

Pool render at Emit Radius 1500, showing caustic light patterns across the whole pool.

Emit Radius = 4000

GI Caustics

The GI Caustics rollout is available only in Advanced mode.

Reflective Caustics lets indirect light reflect off specular objects such as mirrors. This differs from Photon Mapped Caustics, which represent direct light reflected by reflective surfaces.

Refractive Caustics lets indirect light pass through transparent objects such as glass. This differs from Photon Mapped Caustics, which represent direct light passing through transparent objects. For example, you need refractive GI caustics for skylight to pass through windows.

GI Caustics panel with Reflective Caustics unticked and Refractive Caustics ticked.

Ambient Occlusion

Use these controls to add ambient occlusion to the global illumination calculation. See the Ambient Occlusion example below.

Enabled turns ambient occlusion on or off.

Radius sets the size of the area where ambient occlusion applies, measured in Scene units.

Occlusion Amount sets the amount of ambient occlusion. A value of 0.0 produces no ambient occlusion.

Ambient Occlusion panel with the effect enabled, Radius set to 8 and Occlusion Amount set to 0.8.

Ambient Occlusion example

The scene in this example is from Evermotion.

This example shows how the global ambient occlusion options affect the image.

The first image on the right uses Light cache for primary and secondary bounces, Fixed Filter type for the light cache, and Store direct light off. The second image in the centre uses the same light cache settings with global ambient occlusion enabled. The third image on the right has no ambient occlusion. It uses Brute force GI for primary bounces and Light cache for secondary bounces, with Nearest Filter type. Render times include light cache calculation. Ambient occlusion can make the image look more detailed, although the result is not entirely correct.

Kitchen render using Light cache for primary and secondary bounces, with Store direct light off.

Ambient occlusion is off. Lighting is good, but detail is lacking.

Kitchen render with ambient occlusion off, showing good lighting but less defined detail.

Ambient occlusion is on. Details are more defined.

Kitchen render with ambient occlusion on, showing more defined detail around cupboards and objects.

Brute force GI with no ambient occlusion produces fine detail, but takes longer to render.

Notes

  • Since V-Ray Next Update 1.1, some render elements differ from earlier versions. The Lighting render element contains all direct diffuse illumination, and the GI element contains all indirect diffuse illumination. All direct reflections of lights go to the Specular element. All indirect reflections go to the Reflection element.
  • SketchUp always calculates Scene units in inches.

Progressive Caustics advantages

  • They require very little setup.
  • Each photon cast is more useful than in traditional Photon Mapping.
  • Time, rather than memory, limits the number of photons you can cast.
  • They can resolve caustic details that are tiny relative to the scene.
  • They can resolve caustic details even when the camera is zoomed in closely.
  • You can find photon tracing statistics in the VFB2 stats panel.

Progressive Caustics limitations

  • They require the progressive image sampler.
  • The image sampler often needs Min. subdivs values much higher than 1.
  • The solver is non-deterministic. Render times can be unpredictable, and rendering the same frame twice can produce small visual differences.
  • They do not currently work with distributed rendering.
  • The GPU engine does not currently support them.
  • Depending on the scene, performance may not scale linearly with the number of threads or cores. This can leave CPU resources underused.

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.