Using Sharpening in Your App (Beta)
Frame Sharpness Enhancement (FSE) is a feature that enhances the clarity of the final image by applying a sharpening filter. The FSE level is adjustable, allowing you to fine-tune the visual outcome.
Supported Platforms and Devices
Platform | Headset | Supported | Plugin Version | |
PC | PC Streaming | Focus 3/XR Elite/Focus Vision | X | |
Pure PC | Vive Cosmos | X | ||
Vive Pro series | X | |||
AIO | Focus 3 | V | 2.5.0 and above | |
XR Elite | V | 2.5.0 and above | ||
Focus Vision | V | 2.5.0 and above |
Specification
This chapter will explore how to enhances the clarity of the final image using the Sharpness feature within the XR_HTC_composition_layer_extra_settings extension.
Environment Settings
Enable Feature
In Edit > Project Settings > XR Plug-in Management > OpenXR, enable VIVE XR Composition Layer (Extra Settings) feature.

Golden Sample
This article shows how to use sharpness in your app.
Checking HMD Support for Sharpening
To verify if sharpening is supported, use the following code:
ViveCompositionLayerExtraSettings feature = UnityEngine.XR.OpenXR.OpenXRSettings.Instance.GetFeature<ViveCompositionLayerExtraSettings>();
bool isSharpeningSupported = feature.supportSharpening;
Enabling and Disabling Sharpening
-
In the Settings Editor Enable Sharpening and select the desired Sharpening Mode and Sharpening Level.
-
Using APIs
Disable Sharpening:
Enable Sharpening:XR_HTC_composition_layer_extra_settings.Interop.xrViveCompositionLayer_DisableSharpening();
Use this method to enable sharpening with a specific mode and level.XR_HTC_composition_layer_extra_settings.Interop.xrViveCompositionLayer_EnableSharpening(XrSharpeningModeHTC sharpeningMode, float sharpeningLevel);