Irradiance Cache (Global Illumination)
A new Irradiance Cache method was introduced as of ARCHICAD 20. This method bears the following advantages compared to other methods:
•Small details such as contact shadows - i.e., those produced where objects meet, at corner edges, etc. - are of much higher quality (with the right settings in the quality of a pure QMC rendering).
•New algorithms speed up rendering.
The Irradiance Cache (Legacy) method is still available. See Irradiance Cache (Legacy) (CineRender Global Illumination).
Improved rendering of contact shadows (e.g., in the regions marked in the image on the left).
Model by Steen Winther.
Note: All images on this page were rendered using Irradiance Cache, both as Primary and as Secondary method.
What is an “Irradiance Cache?”
Several pre-calculations (“pre-passes”) are made during IR rendering in which the scene is analyzed in order to ascertain the most important indirect lighting regions (the “shading points”, which are the points displayed during pre-passes; these become very apparent when using lower Density values). See below for more details:
Brightness and color values for the shading points (upper image) are interpolated
to ensure a homogeneous dispersion of light (lower image).
The brightness and color values for these shading points will be saved in the Irradiance Cache as so-called “entries”. These Irradiance Cache entries are interpolated during final rendering to supply pixels that lie between shading points with indirect light.
Disadvantages
•When interpolating between the limited number of shading points, details with regard to light and shadow can be lost (however, not nearly as drastically as with the Legacy method). In this regard, QMC still has the advantage.
•Remember that the QMC mode always offers the best GI quality with regard to light and shadow dispersion (and unfortunately the slowest). Irradiance Cache always attempts to produce a result as closely as possible to QMC.
•Generally speaking, Irradiance Cache tends to flicker most if very bright and small Polygon Lights are used. Large, homogeneous light sources (e.g., a sky used for illumination from which light is emitted evenly from many sides) are especially IR-friendly.
Notes:
–The following settings can also be found in the Ambient Occlusion’s settings. The basic principle with which they function is the same (AO, however, only has a Record Density depth of 1).
–If you get spotty results, these can most often be eliminated by using a higher Record Density value. Improving the Secondary Method’s settings will help.
Record Density
Most of the following settings will only be used for fine-tuning. For most instances, the Record Density settings Low, Medium and High in conjunction with corresponding values for the settings below will suffice. The Preview mode offers a quick preview of the final result. Custom will be made available as soon as the Record Density value is changed manually.
Generally speaking, the Record Density value must only be modified if, for example, a Polygon Light’s (e.g, Portal’s) hard shadow should be shown (and you don’t want to use the slow Force Per-Pixel).
Min Rate/Max Rate
When rendering with Irradiance Cache, several pre-passes will first be calculated (the phase in which squares appear that successively become smaller). During this phase, the dispersion of shading points will be ascertained. This is an adaptive process in which particular emphasis is placed on critical regions: corners, shadow edges, etc. The difference between Min Rate and Max Rate defines the number of pre-passes.
A value of 0 produce a full resolution image (pixel size 1*1) and a value of -1 will produce a pixel size of 2*2, -2=4*4 and so on. Logically, the Min Rate value should always be less than the Max Rate value. Positive values are, however, also possible, which allow sub-pixel cache entries (this can be useful for Subpolygon Displacement if details are lost). I
n the end, these settings are not as important as they were for previous IR. Render times differ only nominally and as long as the values are kept reasonable (Max Rate not less than 0), the render results will not differ very much, either. If negative values are used for Min Rate, and Max Rate is set to 0, you’re pretty much on track.
Density
Minimum Spacing/Maximum Spacing
Density: General shading point density. The Density value adjusts the general dispersion of shading points in consideration of the following two settings.
Minimum Spacing: Shading point density in critical areas (e.g., corners, shadows).
Maximum Spacing: Shading point density in non-critical areas (e.g., plane surfaces).
Increasing Density values from bottom to top
It makes sense to describe these three settings together because all three work together to define the shading point density in critical and non-critical areas:
The following image shows the effects of the above-mentioned settings:
Different variations of the Density, Minimum Spacing and Maximum Spacing settings
Tips for a Cleanly Rendered Image
•Use a high number of shading points in critical areas
•Use a reasonable density value in the remaining areas
•Make sure that each shading point has as many Samples as possible
Smoothing
In general, you will rarely need to modify the Smoothing setting.
All previously described settings involve the positioning and calculation of shading points, and indirect lighting is ascertained at numerous locations. This point-by-point dispersion of brightness must be converted to a planar dispersion during rendering. A smoothing algorithm does this in the following way: For each pixel to be rendered for a given object, Irradiance Cache is scanned to find entries in their close proximity to interpolate their brightness and color values.
The higher the Smoothing value, the more shading points will be used for interpolation to render a given pixel. This setting represents a threshold value that determines whether or not a given cache entry in its proximity will be used. Smaller values generally produce a sharper (and often more spotty) result, whereas larger values will interpolate across larger areas, which results in a more uniform illumination but also means that small details will be lost.
Color Refinement
Increasing this setting’s value will improve the render quality in regions in which GI lighting changes abruptly (e.g., GI shadows on bright Polygon Lights). What happens is that additional shading points will be generated (with a corresponding increase in render time).
A higher Color Refinement value produces a more defined cast shadow
Important: You should increase the Record Density enough so the dispersion of light is homogeneous, otherwise spotty regions will result in regions in which GI lighting changes abruptly.
GI Caustics also benefit from higher Color Refinement values:
Caustics rendering (right), which took a fraction of the time to render compared to QMC
Screen Scale
With Legacy version of Irradiance Cache, the shading point dispersion was done independently of the size of the rendered image, i.e., the same pre-pass was used for an image 80 x 80 pixels as for an image with a resolution of 1024 x 768. Enabling the Screen Scale option will adjust the shading point density to the image’s resolution. This means that correspondingly more cache entries will be created for an image with a very large resolution than for an image with a very small resolution. Hence, smaller images will render faster and larger images will render more slowly, which also means that more details will be visible.