max_refractions
 
 
 

Syntax:

max_refractions = <scalar> ;

Option:

None

Range:

Non-negative.

Default:

10

Purpose:

This limits the number of refraction rays that may be created.

Comments:

RayTracing is a recursive process. Each ray refracts through transparent objects. This parameter allows the user to limit the propagation of such rays on a global basis. The global limit is provided so that users may produce a quick image to check the layout and/or texturing of the scene without having to do a major edit of the SDL file. The global limit will only take effect if it is LESS than the limit for the relevant shader, otherwise the shader’s limit will be respected. The parameter is only useful, therefore, for reducing image quality, not increas-ing it.

Example:

max_refractions = 2;