Subsurface Scattering
This section contains settings related to the Screen-Space Subsurface Scattering effect. This effect should be used to imitate human skin, wax, etc.
Do not forget to enable the SSSSS effect for a material.
Enabled |
The value indicating if the SSSSS (Screen-Space Subsurface Scattering) effect is enabled. This effect is used to imitate human skin, wax, etc. Enabled by default.
Console access: render_sssss |
||
---|---|---|---|
Preset |
The currently used SSSSS (Screen-Space Subsurface Scattering) preset. One of the following values:
Console access: render_sssss_preset Presets override user-defined custom settings. When any preset other than Custom is active, modification of the parameters via API has no effect. The parameter value set via the last API call shall be used only when the Custom preset is active. When checking the current parameter value via API you'll get the corresponding setting stored in the active preset (default or custom one). |
||
Radius |
The subsurface scattering radius — distance in the screen space, within which colors will be sampled. It controls how much wrinkles, pores and cavities will be blurred and highlighted. The higher the value, the farther subsurface scattering reaches. Too high values result in the ghosting effect. By the minimum value of 0, no subsurface scattering is rendered. Range of values: [0.0f, inf]. The default value is 1.0f. Console access: render_sssss_radius
|
||
SSSSS Color |
The subsurface scattering color used to simulate the subsurface component of skin lighting, i.e. the light that bounces inside of the subsurface tissue layers (epidermis and dermis) before exiting.For skin, subsurface color is reddish, due to blood circulating in skin tissues. To use this option, SSSSS effect should be enabled. vec4(1.0f, 0.0f, 0.0f, 1.0f) - default value Console access: render_sssss_color |
||
Threshold Min |
The threshold of SSSSS (Screen-Space Subsurface Scattering) for the material's Translucent parameter equal to 0 (minimum translucency). To use this option, the SSSSS effect should be enabled. Range of values: [0.0f, inf]. The default value is 4.0f. Console access: render_sssss_min_threshold |
||
Threshold Max |
The threshold of SSSSS (Screen-Space Subsurface Scattering) for the material's Translucent parameter equal to 1 (maximum translucency). To use this option, the SSSSS effect should be enabled. Range of values: [0.0f, inf]. The default value is 10.0f. Console access: render_sssss_max_threshold |
Translucency Options#
Translucent Color |
The color used for translucent objects globally. When light shines on one side of the object, the other side is partially illuminated with this color. vec4(1.0f, 1.0f, 1.0f, 1.0f) - default value (white) Console access: render_translucent_color |
---|
Customizable Settings#
The following settings are available when the Custom preset is selected.
Subsurface Scattering Settings
Diffuse |
The value indicating if the SSSSS (Screen-Space Subsurface Scattering) calculation for diffuse lighting (directional lights) is enabled. If this option is not required, disable it to save performance. To use this option, the SSSSS effect should be enabled. Enabled by default.
Console access: render_sssss_diffuse |
||
---|---|---|---|
Ambient |
The value indicating if the SSSSS (Screen-Space Subsurface Scattering) calculation for ambient lighting (environment) is enabled. If this option is not required, disable it to save performance. To use this option, the SSSSS effect should be enabled. Enabled by default.
Console access: render_sssss_ambient |
||
Quality |
The quality of the SSSSS (Screen-Space Subsurface Scattering) effect. One of the following values:
Console access: render_sssss_quality
|
||
Resolution |
The resolution of the SSSSS (Screen-Space Subsurface Scattering) effect. One of the following values:
Console access: render_sssss_resolution |
||
Noise Ray |
The intensity of the ray noise used for SSSSS (Screen-Space Subsurface Scattering) calculation to reduce banding artifacts of tracing. Higher values make banding less visible. To use this option, the SSSSS effect should be enabled. Range of values: [0.0f, 1.0f]. The default value is 0.5f. Console access: render_sssss_noise_ray |
||
Noise Step |
The intensity of the step noise used for SSSSS (Screen-Space Subsurface Scattering) calculation to reduce banding artifacts of tracing. Higher values make banding less visible. To use this option, the SSSSS effect should be enabled. Range of values: [0.0f, 1.0f]. The default value is 0.5f. Console access: render_sssss_noise_step |
Interleaved Rendering Options#
Enabled |
The value indicating if the interleaved rendering mode for SSSSS (Screen-Space Subsurface Scattering) is enabled. This option enables rendering of the effect in only half or quarter of all pixels with subsequent reconstruction of neighboring pixels using the data from previous frames, significantly improving performance. The effect is cumulative and works best with Temporal Filter, which reduces ghosting and noise artifacts. Enabled by default.Console access: render_sssss_interleaved |
---|---|
Samples |
The number of pixels to be skipped when rendering the SSSSS (Screen-Space Subsurface Scattering) effect with subsequent reconstruction of neighboring pixels using the data from previous frames. The following options are available:
Console access: render_sssss_interleaved_samples |
Color Clamping |
The color clamping mode used to reduce ghosting effect. Higher values increase clamping intensity, but may cause flickering (to reduce flickering you can choose High + Velocity). When disabled, translucency has a lag as it is several frames behind. One of the following values:
Console access: render_sssss_interleaved_color_clamping |
Temporal Filtering Options#
Fix Flicker |
The value indicating if the taa fix flicker option is enabled. This option fixes flickering edges caused by TAA: it removes bright pixels by using the pixel brightness information from the previous frame. It is recommended to enable the option for bright thin ropes, wires and lines. The option is available only when TAA is enabled. Enabling this option may increase performance costs. Console access: render_taa_fix_flicker |
---|---|
Frames By Color |
The value of TAA parameter for Screen-Space Subsurface Scattering that is similar to TAA Frames By Color. Enabled by default.
Console access: render_sssss_taa_frames_by_color |
Fix Blur |
The value of TAA parameter for Screen-Space Subsurface Scattering that is similar to TAA Catmull Resampling. Enabled by default.
Console access: render_sssss_taa_catmull_resampling |
Antialiasing In Motion |
The value of TAA parameter for Screen-Space Subsurface Scattering that is similar to TAA Antialiasing In Motion. Enabled by default.
Console access: render_sssss_taa_antialiasing_in_motion |
Preserve Details |
The value of TAA parameter for Screen-Space Subsurface Scattering that is similar to TAA Preserve Details. Range of values: [0.0f, inf]. The default value is 0.5f. Console access: render_sssss_taa_preserve_details |
Frame Count |
The value of TAA parameter for Screen-Space Subsurface Scattering that is similar to TAA Frame Count. Range of values: [0.0f, inf]. The default value is 30.0f. Console access: render_sssss_taa_frame_count |
Frames By Velocity
Enabled |
The value of TAA parameter for Screen-Space Subsurface Scattering that is similar to TAA Frames By Velocity. Enabled by default.
Console access: render_sssss_taa_frames_by_velocity |
---|---|
Threshold |
The value of TAA parameter for Screen-Space Subsurface Scattering that is similar to TAA Frames Velocity Threshold. Range of values: [0.0f, inf]. The default value is 1.0f. Console access: render_sssss_taa_frames_velocity_threshold |
Max Frame Count |
The value of TAA parameter for Screen-Space Subsurface Scattering that is similar to TAA Max Frames By Velocity. Range of values: [0.0f, inf]. The default value is 60.0f. Console access: render_sssss_taa_max_frames_by_velocity |
Min Frame Count |
The value of TAA parameter for Screen-Space Subsurface Scattering that is similar to TAA Min Frames By Velocity. Range of values: [0.0f, inf]. The default value is 4.0f. Console access: render_sssss_taa_min_frames_by_velocity |
Last update:
2021-12-13
Help improve this article
Was this article helpful?
(or select a word/phrase and press Ctrl+Enter)