|
| 1 | +# Intel® X<sup>e</sup>SS Plugin for Unity* Engine |
| 2 | + |
| 3 | +## Introduction |
| 4 | +This plugin integrates Intel® Xe Super Sampling (X<sup>e</sup>SS) into the Unity Engine. |
| 5 | +* The plugin now supports the HDRP/SRP render pipeline. |
| 6 | +* Supported graphics API: DX12. |
| 7 | + |
| 8 | +Intel® X<sup>e</sup>SS enables innovative framerate boosting technology supported by Intel® Arc™ graphics cards and other GPU vendors. Using AI deep-learning for upscaling, X<sup>e</sup>SS offers higher framerates without degrading image quality. |
| 9 | +For more information, visit: [Intel® X<sup>e</sup>SS GitHub](https://github.com/intel/xess) |
| 10 | + |
| 11 | +## Components |
| 12 | +* `com.intel.xess` - XeSS main C# package for Unity for XeSS SDK |
| 13 | +* `UnityXeSSPlugin` - XeSS native plugin source code for Unity |
| 14 | +* `[email protected]` - Modified Unity HDRP rendering pipeline (14.0.11) code for Unity 2022 LTS |
| 15 | +* `HDRP Samples` - Please check the "Release" section for the samples (with `vk.bat` to start with Vulkan, `dx12.bat` to start with DX12, and `dx11.bat` to start with DX11) |
| 16 | + |
| 17 | +## How to Enable XeSS in HDRP Samples |
| 18 | +### Integrating `com.intel.xess` into HDRP Unity Sample |
| 19 | +* Use this HDRP template to create the HDRP project in Unity 2022 LTS version. |
| 20 | + |
| 21 | + |
| 22 | + |
| 23 | +* When the project is loaded, close the project and move the `\Library\PackageCache\[email protected]` folder to the `\Packages` folder with the XeSS package as shown below. This will allow you to modify the HDRP pipeline with your code. |
| 24 | + |
| 25 | + |
| 26 | + |
| 27 | +* Replace the `[email protected]` with the modified one in the repository to enable XeSS for HDRP. |
| 28 | + |
| 29 | +* Ensure the core plugin `Packages\com.intel.xess\RunTime\Bin\XeSSRenderingPlugin.dll` is loaded on startup. |
| 30 | + |
| 31 | + |
| 32 | + |
| 33 | +* Enable dynamic resolution support in the pipeline settings. |
| 34 | + |
| 35 | + |
| 36 | + |
| 37 | +### Check XeSS in the HDCamera Settings |
| 38 | +* XeSS supported only |
| 39 | + |
| 40 | + |
| 41 | + |
| 42 | +* DLSS & XeSS supported, with DLSS having higher priority |
| 43 | + |
| 44 | + |
| 45 | + |
| 46 | +**_Attention: Both DLSS & XeSS require dynamic resolution to be enabled!_** |
| 47 | + |
| 48 | +## Integrating `com.intel.xess` into Your Own HDRP/SRP Details |
| 49 | +* An XeSS context corresponds to an HDCamera in Unity HDRP. |
| 50 | +* The main XeSS pass integration is located in `[email protected]\Runtime\RenderPipeline\RenderPass\XeSSPass.cs`. |
| 51 | +* Use `com.intel.xess` to integrate your own XeSS in SRP and use `XeSSPass.cs` as a reference. |
| 52 | + |
| 53 | +## Known Unity Plugin Issue |
| 54 | +* 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. |
| 55 | + |
| 56 | + |
0 commit comments