Expose VSM EL options.

PiperOrigin-RevId: 875368470
Change-Id: Ic6e05c82b57ffa3b1ff49baf4e3cd2c9480c9ba2
This commit is contained in:
Haroon Qureshi
2026-02-25 15:36:00 -08:00
committed by Copybara-Service
parent 42d843a0fd
commit b7e192e514
@@ -640,6 +640,8 @@ void DrawLightGui(filament::LightManager& lm,
changed |= Ui("# Cascades", &opts.shadowCascades);
changed |= Ui("Constant Bias", &opts.constantBias);
changed |= Ui("Normal Bias", &opts.normalBias);
changed |= Ui("EL VSM Enabled", &opts.vsm.elvsm);
changed |= Ui("VSM Blur Width", &opts.vsm.blurWidth);
if (changed) {
lm.setShadowOptions(li, opts);
}