XeSSUnityPlugin
XeSSUnityPlugin copied to clipboard
Intel® XeSS Plugin for Unity* Engine
Intel® XeSS Plugin for Unity* Engine
Introduction
This plugin integrates Intel® Xe Super Sampling (XeSS) into the Unity Engine.
- The plugin now supports the HDRP/SRP render pipeline.
- Supported graphics API: DX12/Vulkan/DX11.
Intel® XeSS enables innovative framerate boosting technology supported by Intel® Arc™ graphics cards and other GPU vendors. Using AI deep-learning for upscaling, XeSS offers higher framerates without degrading image quality. For more information, visit: Intel® XeSS GitHub
If you encounter any integration issues, feel free to use the Intel® XeSS Inspector. This tool is specifically designed to simplify the validation and debugging of XeSS integration within applications.
Components
com.intel.xess- XeSS main C# package for Unity for XeSS SDKUnityXeSSPlugin- XeSS native plugin source code for Unity[email protected]- Modified Unity HDRP rendering pipeline (14.0.11) code for Unity 2022 LTSHDRP Samples- Please check the "Release" section for the samples (withvk.batto start with Vulkan,dx12.batto start with DX12, anddx11.batto start with DX11)
How to Enable XeSS in HDRP Samples
Integrating com.intel.xess into HDRP Unity Sample
- Use this HDRP template to create the HDRP project in Unity 2022 LTS version.

- When the project is loaded, close the project and move the
\Library\PackageCache\[email protected]folder to the\Packagesfolder with the XeSS package as shown below. This will allow you to modify the HDRP pipeline with your code.

-
Replace the
[email protected]with the modified one in the repository to enable XeSS for HDRP. -
Ensure the core plugin
Packages\com.intel.xess\RunTime\Bin\XeSSRenderingPlugin.dllis loaded on startup.

- Enable dynamic resolution support in the pipeline settings.

Check XeSS in the HDCamera Settings
- XeSS supported only

- DLSS & XeSS supported, with DLSS having higher priority

Attention: Both DLSS & XeSS require dynamic resolution to be enabled!
Integrating com.intel.xess into Your Own HDRP/SRP Details
- An XeSS context corresponds to an HDCamera in Unity HDRP.
- The main XeSS pass integration is located in
[email protected]\Runtime\RenderPipeline\RenderPass\XeSSPass.cs. - Use
com.intel.xessto integrate your own XeSS in SRP and useXeSSPass.csas a reference.
Known Unity Plugin Issue
- Unity has a DX12 plugin fix in version 2022.3.39f1. Ensure your Unity engine version is greater than or equal to 2022.3.39f1.

For Unity 6
- You can directly use the
com.intel.xessmodule in Unity6. For the HDRP render pipeline, there are two patches available in the 'Unity6Patch' folder: one for 'com.unity.render-pipelines.core' and another for 'com.unity.render-pipelines.high-definition'.