Skip to content

GameTechDev/XeSSUnityPlugin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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.

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

Components

  • com.intel.xess - XeSS main C# package for Unity for XeSS SDK
  • UnityXeSSPlugin - XeSS native plugin source code for Unity
  • [email protected] - Modified Unity HDRP rendering pipeline (14.0.11) code for Unity 2022 LTS
  • 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)

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.

Create Sample

  • 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.

Package Folder

  • 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.dll is loaded on startup.

Plugin Load on Startup

  • Enable dynamic resolution support in the pipeline settings.

Enable Dynamic Resolution

Check XeSS in the HDCamera Settings

  • XeSS supported only

XeSS Only

  • DLSS & XeSS supported, with DLSS having higher priority

DLSS and XeSS

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.xess to integrate your own XeSS in SRP and use XeSSPass.cs as 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.

Unity Issue

About

Intel® XeSS Plugin for Unity* Engine

Topics

Resources

License

Security policy

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •