---
title: "V-Ray for Solaris Global Illumination"
canonical: "https://documentation.chaos.com/space/VRAYHOUDINI/1376780387/V-Ray+for+Solaris+Global+Illumination"
format: markdown
---
This page provides information about Global Illumination in V-Ray for Solaris.


## **Overview**

---

Global Illumination menu contains 2 sections:

- [Main](https://docs-chaos.atlassian.net/wiki/spaces/VRAYHOUDINI4EDIT/pages/977174529)
- [Light Cache](https://docs-chaos.atlassian.net/wiki/spaces/VRAYHOUDINI4EDIT/pages/977174529)



## **Main**

---

**On** *– *Enables/disables indirect illumination.

**Reflective Caustics** – Allows indirect light to be reflected from specular objects (mirrors, etc.). Note that this is not the same as Caustics, which represent direct light going through specular surfaces.

**Note**: GI caustics represent light that has gone through one diffuse, and one or several specular reflections (or refractions). GI caustics can be generated by skylight, or self-illuminated objects, for example. However, caustics caused by direct lights cannot be simulated in this way. You must use the separate Caustics Tab section to control direct light caustics. Note that GI caustics are usually hard to sample and may introduce noise in the GI solution. *For more information, see the **[GI Caustics example](#)**.*

**Refractive Caustics** – Allows indirect lighting to pass through transparent objects (glass, etc.). Note that this is not the same as Caustics, which represent direct light going through transparent objects. You need refractive GI caustics to get skylight through windows, for example.

**Engine** – Specifies the method to be used for secondary diffuse bounces.

**None** – No method is used.  
**Brute force** – Selects the brute force method (direct computation) for secondary diffuse bounces.* See the **[Brute Force Settings](https://docs-chaos.atlassian.net/wiki/spaces/VRAYHOUDINI/pages/113281020)** page for more information.*  
**Light cache** – Selects the light cache method as the secondary GI engine. *See the **[Light Cache Settings](https://docs-chaos.atlassian.net/wiki/spaces/VRAYHOUDINI/pages/113281034)** page for more information. *

**Depth (Brute Force)** - Specifies the number of light bounces that are computed. GI Depth is also used to calculate Interactive rendering GI Depth.

**Adaptivity Prepass (Brute Force)** - The adaptivity prepass computes necessary data for algorithms like path guiding, adaptive lights, adaptive dome light, and auto exposure, similarly to the Light cache method. These features rely on extra training data obtained during the prepasses. Therefore, this process is necessary for them to function properly when used alongside the Brute force Global Illumination (GI) engine. *Note that this option is not supported with V-Ray GPU.*

![GI_main.png](media://a5d85a50-5709-4bac-9457-c91a2d4fb7c1)


> ⚠️ The previous three post-processing parameters allow additional modification of the indirect illumination before it is added to the final rendering. The default values ensure a physically accurate result, but values can be changed to modify the way GI looks for artistic purposes.

> ⚠️ When CUDA/RTX is chosen as a rendering engine, all unsupported options are disabled in the parameters.


## **Light Cache**

---

These parameters affect the calculation phase of the light cache; they do not affect the final rendering until the light cache is used.

**Subdivs** – Determines how many paths are traced from the camera. The actual number of paths is the square of the subdivs (the default 500 subdivs mean that 250 000 paths are traced from the camera). *For more information, see the*<u>*[ Subdivs Parameter example](https://docs-chaos.atlassian.net/wiki/spaces/VRAYHOUDINI/pages/113281034/Light+Cache+Settings#subdivsParameter)*</u>* below. *

**Sample Size** – Determines the spacing of the samples in the light cache. Smaller numbers mean that the samples are closer to each other; the light cache preserves sharp details in lighting, but it is noisier and takes more memory. Larger numbers smooth out the light cache but lose detail. This value can be either in world units or relative to the image size, depending on whether the **World Scale** option is checked or not. *For more information, see the *<u>*[Sample Size Parameter example](https://docs-chaos.atlassian.net/wiki/spaces/VRAYHOUDINI/pages/113281034/Light+Cache+Settings#sampleSize)*</u>* below.*

**Show Calc. Phase** – When enabled, shows the paths that are traced. This does not affect the calculation of the light cache and is provided only as feedback to the user. This option is ignored when rendering to fields - in that case, the calculation phase is never displayed.

**Store Direct Light** – When enabled, the light cache also stores and interpolates direct light. This can be useful for scenes with many lights, since direct lighting is computed from the light cache, instead of sampling each and every light. Note that only the diffuse illumination produced by the scene lights is stored. If you want to use the light cache directly for approximating the GI while keeping the direct lighting sharp, uncheck this option.

**World Scale** – Determines the unit scale for the **Sample Size** and **Filter Size** parameters. When disabled, the units are fractions of the final image (a value of *1.0* means the samples are as large as the whole image). Samples that are closer to the camera are smaller, and samples that are far away are larger. Note that the units do not depend on the image resolution. When enabled, sizes are fixed in world units everywhere. This can affect the quality of the samples. For example, samples that are close to the camera are sampled more often and appear smoother, while samples that are far away are noisier. This option is often the best choice for fly-through animations, since it forces a constant sample density everywhere. *For more information, see the *<u>*[Scale Parameter example](https://docs-chaos.atlassian.net/wiki/spaces/VRAYHOUDINI/pages/113281034/Light+Cache+Settings#scaleParameter)*</u>* below.*

**Use Retrace Threshold** – When enabled, improves the precision of global illumination in cases where the light cache will produce too large an error. This is especially obvious near corners where light leaks might be possible because of the light cache interpolation. For glossy reflections and refractions, V-Ray dynamically decides whether to use the light cache or not based on the surface glossiness and the distance from it so that the errors due to the light cache are minimized. Note that enabling this option can increase render time.

**Retrace Threshold** – Specifies the threshold amount relative to the light cache sample size.

**Path Guiding (Experimental)** – Uses a path guiding method (<u>[Intel® Open Path Guiding Library](https://github.com/OpenPathGuidingLibrary/openpgl)</u>) to optimize the sampling quality. Path guiding is useful for scenes where GI or glossy reflections are hard to sample, such as interior scenes or scenes with a lot of occlusion. It is supported by V-Ray Material, Environment Fog with enabled GI and Volume Grid with enabled GI. When using this option, note that the Subdivs should be at least 1000, and for some scenes - up to 3000. This option is available with V-Ray CPU only.

**Mode** – Determines the rendering mode of the light cache: 

**Single Frame** – Computes a new light cache for each frame of an animation.   
**From File** – The light cache is loaded from a file. The light cache file does not include the prefiltering of the light cache; prefiltering is performed after the light cache is loaded, so that you can adjust it without the need to recompute the light cache.

**File **– Specifies the file name to load the light cache from, when **Mode **is set to **From File**.

**Don't Delete from Memory **– When enabled, the light cache is not deleted at the end of the rendering.

**Auto Save** – When enabled, the light cache is automatically written to the specified file. Note that the light cache is written as soon as it is calculated, rather than at the actual end of the rendering. 

**Auto Save File** – Specifies the file name to save the light cache to.

![GI_LightCache.png](media://1dd63832-6b65-40d6-af73-5b2bb3ad2e31)