Ray tracing is computationally intensive and some effects – such as soft area light shadows – rely on lots and lots of rays being cast per pixel. In order to make this viable in real-time or while editing interactively, Notch typically casts very few rays per pixel but uses denoising or refining to aggregate the results over time. The RT Refinement node is used to control refinement parameters throughout the scene – not to actually perform the refinement process itself.
Refinement simply averages the result of all the rays cast for a given pixel. As such any movement of objects, camera or any other properties on which ray results depend would cause refinement to be incorrect: it would be averaging results of different things, causing visual errors such as streaks and trails. Refinement is, therefore, reset by any property changes, camera or object movement, animation or change in play time.
Refinement also has the option to exploit spatial coherence via filters to smooth out the noisy image. Spatial filtering may make the render appear blurrier. The “Spatial Filter Iterations” parameters set the amount of spatial filtering. There are multiple sets of parameters for spatial filtering, separated into direct and indirect, diffuse and specular. Diffuse lighting is often softer so it may be possible to increase spatial filtering. Indirect diffuse lighting is often less visible but noisier, so may be able to be filtered more heavily.
With no RT Real-Time Denoiser or RT Refinement present and active in the scene, the default behaviour is Refining with default settings.
|RT Refinement Off.||RT Refinement 50 refinement steps.||RT Refinement 1000 refinement steps.|
RT Refinement also has Intel and Nvidia AI denoising options. These AI denoisers can dramatically reduce the number of refinement steps needed to achieve a highly refined image.
|50 refinement step with Intel Open Image Denoiser.||50 refinement step with NVidia Optix.|
|Max Refine Steps||Sets the global maximum refinement steps for the scene.|
|Full Screen Antialiasing||Antialiases the full screen|
|Filtering||Enables additional filtering parameters.|
|Diffuse Spatial Filter Iterations||Sets the number of Diffuse Spatial Filter Iteration bounces.|
|Specular Spatial Filter Iterations||Sets the number of Specular Spatial Filter Iteration bounces.|
|Bounce Diffuse Spatial Filter Iterations||Sets the number of Diffuse Spatial Filter Iteration bounces.|
|Bounce Specular Spatial Filter Iterations||Sets the number of Specular Spatial Filter Iteration bounces.|
|AI Denoising||Enable use of an AI Denoiser.|
|AI Denoiser Type|| Select the type of denoiser you want to use.
There are no inputs for this node.
All nodes connected to this node are treated as if flowing to the parent node, and inherits any transformation changes along the chain.