XII Release 0.1.0
Loading...
Searching...
No Matches
xiiLightScatteringRefinementCriterion Struct Reference

The criterion to use for detecting discontinuities when refining the sample locations for light scattering. More...

#include <SkyAtmosphereComponent.h>

Inheritance diagram for xiiLightScatteringRefinementCriterion:
[legend]

Public Types

enum  Enum : StorageType { Depth = 0U , InscatteringChange , ENUM_COUNT , Default = Depth }
using StorageType = xiiUInt8

Detailed Description

The criterion to use for detecting discontinuities when refining the sample locations for light scattering.

Member Enumeration Documentation

◆ Enum

Enumerator
Depth 

Refine based on depth discontinuities, which can be detected by checking the depth difference between neighboring samples. This is the most effective criterion for improving quality in areas with depth discontinuities, such as near the ground or objects, but it can also increase the number of samples significantly in scenes with a lot of geometry.

InscatteringChange 

Refine based on changes in inscattering, which can be detected by checking the inscattering difference between neighboring samples. This can be more effective for improving quality in areas with smooth depth but rapidly changing inscattering, such as around the sun, but it can also increase the number of samples significantly in scenes with a bright sun or other strong light sources.


The documentation for this struct was generated from the following file: