11 entt::meta_factory<exposure_metering_mode>{}
12 .type(
"exposure_metering_mode"_hs)
17 .data<exposure_metering_mode::average>(
"average"_hs)
22 .data<exposure_metering_mode::center_weighted>(
"center_weighted"_hs)
27 .data<exposure_metering_mode::spot>(
"spot"_hs)
33 entt::meta_factory<auto_exposure_pass::settings>{}
34 .type(
"auto_exposure_settings"_hs)
39 .data<&auto_exposure_pass::settings::min_ev>(
"min_ev"_hs)
46 entt::attribute{
"tooltip",
"Lower clamp for metered scene brightness (relative EV). "
47 "Controls how much the system can BRIGHTEN dark scenes: a LOWER value allows "
48 "more brightening (more upward adaptation headroom when moving into shadow/interiors). "
49 "Default -1 keeps it subtle (~1 stop). Only engages when the scene meters below this value."},
51 .data<&auto_exposure_pass::settings::max_ev>(
"max_ev"_hs)
58 entt::attribute{
"tooltip",
"Upper clamp for metered scene brightness (relative EV). "
59 "Controls how much the system can DARKEN bright scenes: a HIGHER value allows "
60 "more darkening. Lighting here is authored at a fixed reference exposure (not "
61 "physical cd/m2), so the default 0 pins the bright end at the authored daylight "
62 "level. Raise it only if very bright scenes should tone down below that. "
63 "Use Compensation to shift overall brightness."},
65 .data<&auto_exposure_pass::settings::compensation>(
"compensation"_hs)
72 entt::attribute{
"tooltip",
"Global exposure bias in EV stops, applied on top of the auto-exposure result."
73 "Use this to make the scene uniformly brighter or darker."
74 "+1 = twice as bright, -1 = half as bright."
75 "This is the main knob for adjusting overall scene brightness."},
77 .data<&auto_exposure_pass::settings::adaptation_speed_up>(
"adaptation_speed_up"_hs)
83 entt::attribute{
"tooltip",
"Time constant in SECONDS for exposure to increase (scene getting darker, e.g. walking indoors). "
84 "Higher = slower adaptation, mimicking human eye dilation. Adaptation happens in EV/log space. "
85 "Typically 2-5 seconds."},
87 .data<&auto_exposure_pass::settings::adaptation_speed_down>(
"adaptation_speed_down"_hs)
93 entt::attribute{
"tooltip",
"Time constant in SECONDS for exposure to decrease (scene getting brighter, e.g. walking outdoors). "
94 "Lower = faster adaptation, mimicking quick pupil constriction. Adaptation happens in EV/log space. "
95 "Typically 0.5-2 seconds."},
97 .data<&auto_exposure_pass::settings::low_percentile>(
"low_percentile"_hs)
104 entt::attribute{
"tooltip",
"Fraction of darkest pixels to exclude from the exposure calculation."
105 "Higher values ignore more shadows, keeping them dark and natural."
106 "At 0.50 the darkest half of all pixels are excluded."
107 "Unreal uses ~0.80, Unity uses ~0.40."
108 "Increase this if auto-exposure is washing out shadows."},
110 .data<&auto_exposure_pass::settings::high_percentile>(
"high_percentile"_hs)
117 entt::attribute{
"tooltip",
"Fraction of pixels to include before cutting off the brightest."
118 "Pixels above this percentile (sky, sun, specular highlights) are excluded."
119 "At 0.95 the brightest 5% of pixels are ignored."
120 "Lower this if bright sky or highlights are driving the exposure too low."},
122 .data<&auto_exposure_pass::settings::metering_mode>(
"metering_mode"_hs)
126 entt::attribute{
"tooltip",
"How pixels are spatially weighted when measuring scene brightness. "
127 "Average = whole frame equally. "
128 "Center Weighted = smooth falloff toward the edges (recommended, avoids sky/edges dominating). "
129 "Spot = only a central circle is measured."},
131 .data<&auto_exposure_pass::settings::metering_area>(
"metering_area"_hs)
138 entt::attribute{
"tooltip",
"Size of the metering region (in screen-normalized units). "
139 "For Center Weighted this is the Gaussian falloff radius; for Spot it is the hard cutoff radius. "
140 "Has no effect in Average mode."},