Can I adjust the intensity of Segmented Dimmer, not just turn it on/off?

Give us as much detail as possible regarding the issue you’re experiencing:

Unity Editor version : Unity 2022.3
ML2 OS version : v1.12.0
Unity SDK version : 2.6.0
Host OS : Windows, MacOS

Error messages from logs (syntax-highlighting is supported via Markdown):

Thanks again for your help earlier in resolving my question about Segmented Dimmer—I really appreciate the clear guidance.

I now have another question:
I understand that the Global Dimmer allows adjusting dimming intensity with a numeric value, while Segmented Dimmer appears to only toggle on and off via Activate() and Deactivate().
However, I noticed a GIF in Magic Leap’s documentation (under Set Default Blend Mode) that visually represents the Segmented Dimmer’s tint as a percentage.

This makes me wonder—is it possible to control the intensity of the Segmented Dimmer numerically, similar to the Global Dimmer?

Could someone please clarify whether there’s a way to set dimming strength (e.g. percentage or blend value) for Segmented Dimmer, rather than simply activating or deactivating it?

Thanks in advance for any insight!

Hey @JunsuSong,

This was possible in the now deprecated MLSDK (before OpenXR integration).

It is no longer possible to directly control this via MagicLeapRenderingExtensionsFeature.

That being said, the segmented dimmer value is driven by the alpha value of the material. So semi transparent objects will have less segmented dimming applied.

You could try adjusting the alpha value of your materials to see if that gives you the desired result.

You also highlighted a point of potential confusion on our documentation that has not been updated to reflect the OpenXR changes with the most recent version of the Magic Leap Unity SDK, so thank you for that! We will see about getting this documentation updated to be more accurate.

Please let me know if you have any more questions or issues and I’d be glad to help out as best I can!

Best,
Corey

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.