Skip to content
プロジェクト

概要

Unity high-definition graphics plugin for URP on high-end devices: hybrid screen-space lighting, character rendering, OIT, precomputed and ray traced GI, path tracing and DLSS.

デザイン・メディア

この数値の測り方

できること

  • Bring high-quality graphics to your URP Forward and Forward+ project with one-click integration.
  • Create detailed characters with subsurface skin scattering, dual-lobe specular, Kajiya-Kay and Marschner hair, and anisotropic fabric shading.
  • Reduce hair and material transparency sorting artifacts with weighted blended order-independent transparency.
  • Enrich scene lighting with Hybrid Lit materials, LTC area lights, screen-space reflections, and screen-space and precomputed radiance transfer global illumination.

計測したスター増加

24時間
0
7日間
+3
15日間
+33
1か月
履歴を収集中

期間ごとの純増数です。期間は重複しており、日別の値ではありません。未計測の値は空欄です。スター数は注目度の指標であり、品質の保証ではありません。

Release Zhihu Bilibili

Unity high-definition graphics plugin for the Universal Render Pipeline, built for high-end devices.

Highlights

  • Bring high-quality graphics to your URP Forward and Forward+ project with one-click integration.
  • Create detailed characters with subsurface skin scattering, dual-lobe specular, Kajiya-Kay and Marschner hair, and anisotropic fabric shading.
  • Reduce hair and material transparency sorting artifacts with weighted blended order-independent transparency.
  • Enrich scene lighting with Hybrid Lit materials, LTC area lights, screen-space reflections, and screen-space and precomputed radiance transfer global illumination.
  • Ground characters and reveal fine surface details with per-object shadows, contact shadows, PCSS soft shadows, and ground-truth ambient occlusion.
  • Shape the final image with volumetric lighting, automatic exposure, convolution bloom, and advanced tonemapping.
  • Build custom materials with ready-to-use shaders and Amplify Shader Editor templates integrated with IllusionRP lighting.
  • Explore ray traced global illumination, reference and realtime path tracing, DLSS Ray Reconstruction, and experimental DLSS Neural Rendering on supported hardware, traced with inline ray queries, Shader Execution Reordering and opacity micromaps.
  • Support Unity 2022, Unity 2023, and Unity 6 through their respective version branches.

Demo

Sponza Demo

IllusionRP demo for the Sponza scene, open Assets/Scenes/Sponza.unity for a quick preview.

Demo

AIChara Demo

IllusionRP was first designed to re-render game characters from @ILLUSION, open Assets/Scenes/AIChara.unity for a quick preview.

AIChara Demo

[!NOTE] The AIChara demo assets are provided for educational use only. Commercial use is prohibited.

AIChara Remaster

Remaster is WIP, stay tuned.

AIChara Remaster

Showcase

Notice

Designed for Forward and Forward+ rendering path, Deferred rendering path is not supported.

Add new shading model in deferred rendering path need modify the URP source code, which is hard to maintain. While using forward rendering path, we can add shaders without limitations.

Platforms

  • Android (Vulkan)

  • Standalone Windows (DX12)

Version

Unity 6

  • Unity 6.3 (URP 17.3.0)

Unity 2022 and Unity 2023

  • Unity 2022.3.62f1 (URP 14.0.12)

  • Unity 2023.2.22f1 (URP 16.0.6)

Install

Use the package subpath URL in Unity Package Manager:

https://github.com/AkiKurisu/IllusionRP.git?path=Packages/com.kurisu.illusion-render-pipelines

Ray tracing features (RTGI, path tracing and DLSS) also need the UnityRHI package:

https://github.com/AkiKurisu/IllusionRP.git?path=Packages/com.kurisu.unityrhi

Setup

  1. Replace Post Process Data with IllusionRPPostProcessData in your URP renderer asset. Post Process Data
  2. Add Illusion Graphics renderer feature in your URP renderer asset. Renderer Feature

[!Tip] For best visual experience and performance, I recommend you to enable Depth Priming and Forward+ in renderer asset to use Pre-Z Cluster Forward Rendering.

Features

Introduction to included rendering features.

Skin

Support Screen Space Subsurface Scattering (SSSSS) ported from HDRP and fallback to Spherical Gaussian Subsurface Scattering (SGSSS) introduced by Matt - Approximating Subsurface Scattering With Spherical Gaussians when screen space sss is disabled.

Dual Lobe Specular provides a more natural skin effect.

SSS

Hair

Support Kajiya-Kay shading model with better performance.

Support Marschner shading model implemented by Unreal Engine.

Hair Shading

Multipass is used (opaque & transparent).

OIT to solve hair transparent rendering order based on NVIDIA's Weighted Blended Order-Independent Transparency.

Fabric

Support Anisotropy Specular.

Anisotropy

Oren-Nayar diffuse model.

Sheen Scattering with Ashikhmin (smooth) and Charlie (softer) model.

Hybrid Lit

The upgraded version of Universal Render Pipeline/Lit shader.

Support PreIntegrated Imaged Based Lighting ported from HDRP.

Support all Screen Space Lighting features in IllusionRP.

Support Order Independent Transparency.

Hybrid Lit

[!TIP] You can directly replace the urp lit shader with Universal Render Pipeline/Hybrid Lit shader to get better lighting results.

Area Lights

Support rectangular Area Lights with Linearly Transformed Cosines (LTC) lighting, cookies, and filtered shadows.

Area Lights

Water

Water shader is modified from URP samples and has been converted to ASE version.

[!TIP] To sample full scene color instead of _CameraOpaqueTexture, you need enable requireHistoryColor or ScreenSpaceReflection in Illusion Graphics renderer feature.

Shadows

Support Per-Object Shadow based on stalomeow/StarRailNPRShader to enhance character shadow quality.

Include Contact Shadows ported from HDRP to capture small details.

Contact Shadows

Support Micro Shadows ported from HDRP to simulate small details embedded in the Material of a GameObject, but not in its Mesh geometry.

Support Fragment Shadow Bias to reduce shadow acne.

[!Warning] Enable Fragment Shadow Bias will let IllusionRP shaders not compatiable with URP's built-in shader since we now apply shadow bias in receiver fragement shader instead of in caster vertex shader.

Include Percentage-Closer Soft Shadow from recaeee/RecaNoMaho_P for more realistic shadows.

PCSS

[!TIP] Percentage-Closer Soft Shadow only works for Main Light Shadow Caster and Per-Object Shadow Caster.

Ambient Occlusion

Include Ground Truth Ambient Occlusion based on bladesero/GTAO_URP and HDRP implementation.

Support AO Multi-Bounce and Separate AO for diffuse and specular lighting.

GTAO

Global Illumination

Include Screen Space Reflection based on EricHu33/URP_SSR and HDRP implementation.

SSR

Support 3 algorithms: View Space Linear Search, Screen Space Linear Search and Hiz Search.

Include Precomputed Radiance Transfer Global Illumination (PRTGI) based on AKGWSB/CasualPRT and Global Illumination in Tom Clancy's The Division.

Support Sector Relighting, Camera Cascades and a Ray Traced Baker.

PRTGI

[!TIP] PRTGI will not affect materials that use baked lightmaps.

Support Reflection Probe Normalization based on Unity Adaptive Probe Volume when enable PRTGI to prevent light leaking.

Reflection Probe Normalization

Include Screen Space Global Illumination based on jiaozi158/UnitySSGIURP and HDRP implementation.

SSGI

[!TIP] Recommend to use PRTGI outdoor and combine with SSGI indoor.

Also, SSGI will not affect materials that use baked lightmaps.

SSGI + PRTGI

Include Ray Traced Global Illumination (RTGI) based on NVIDIA-RTX/RTXDI ReSTIR GI and denoised by NVIDIA-RTX/NRD.

Support Performance mode with one-bounce lighting, and Quality mode with multi-bounce lighting from a NVIDIA-RTX/SHARC radiance cache.

RTGI

[!NOTE] RTGI requires Direct3D 12 and a GPU with ray tracing support.

Post Processing

Include Automatic Exposure ported from HDRP.

Exposure

Include Convolution Bloom from StellarWarp/High-Performance-Convolution-Bloom-On-Unity.

Bloom

Include Volumetric Light from CristianQiu/Unity-URP-Volumetric-Light.

Volumetric Light

Include Advanced Tonemapping with two kinds:

Gran-Turismo from yaoling1997/GT-ToneMapping better for anime characters.

Filmic ACES from Unreal Engine which is more artist friendly.

Tonemapping

[!NOTE] Advanced Tonemapping only works in High Dynamic Range grading mode.

Path Tracing

Include Path Tracing based on NVIDIA-RTX/RTXPT and Kuan-Mi/UnityPathTracing, with Reference and Realtime (DLSS Ray Reconstruction) modes.

Path Tracing

Ray Tracing

RTGI and path tracing use Inline Ray Queries with bindless material evaluation, so their cost does not grow with the number of instances in the scene.

Support Shader Execution Reordering (SER) on supported NVIDIA GPUs.

Support Opacity Micromaps (OMM) to speed up rays through alpha-tested foliage.

[!NOTE] Ray tracing requires Direct3D 12 and a GPU with ray tracing support.

Neural Rendering

Include DLSS Neural Rendering integration based on Kuan-Mi/UnityDLSSNR.

DLSS Neural Rendering

[!NOTE] nvngx_dlssnr.dll is not included.

See Experimental DLSS Neural Rendering for setup and limitations.

Debugging

Recommended to install Ceres to use Unreal-like console variables for debugging rendering features.

Install from git URL https://github.com/AkiKurisu/Ceres.git?path=Packages/com.kurisu.ceres

Console Variable

Ceres also provides a Data-Driven Dynamic Volume Provider to support configuring volume profile per-platform.

Dynamic Volume

Documents

Shaders

Lighting

Post-Processing

Render Pipeline

Optimization

Contribution

See Contributing for more details.

Credits

Thanks to the following great works and articles.

Skin: Lee Perry-Smith head from InfiniteScan, with textures from three.js (CC BY 3.0).

Hair: hair33.png by OwlishMedia (CC0).

Kuan-Mi/UnityDLSSNR

Kuan-Mi/UnityPathTracing

NVIDIA-RTX/RTXPT

NVIDIA-RTX/RTXDI

NVIDIA-RTX/NRD

NVIDIA-RTX/SHARC

bladesero/GTAO_URP

stalomeow/StarRailNPRShader

ecidevilin/KhaosLWRP

EricHu33/URP_SSR

AKGWSB/CasualPRT

Ubisoft Massive - Global Illumination in Tom Clancy's The Division

HigashiSan/Weighted-Blended-OIT-in-Unity-URP

Unity-Technologies/Graphics

Unity-Technologies/shading-rate-demo

yaoling1997/GT-ToneMapping

StellarWarp/High-Performance-Convolution-Bloom-On-Unity

CristianQiu/Unity-URP-Volumetric-Light

recaeee/RecaNoMaho_P

jiaozi158/UnitySSGIURP

Matt - Approximating Subsurface Scattering With Spherical Gaussians

傻头傻脑亚古兽 - Unity实现SSS皮肤次表面散射

jplee - Extra technique for Skin shader by URP

jplee - UE4 ACES Tone mapping port URP

Naughty Dog - The Process of Creating Volumetric-based Materials in Uncharted 4

NVIDIA - Weighted Blended Order-Independent Transparency

Casual Effects - Weighted, Blended Order-Independent Transparency

ZZNEWCLEAR13 - 在URP的片元着色器中应用阴影偏移

Articles

Technical articles related to IllusionRP.

如何在Unity URP中让头发渲染更丝滑

UPR Screen Space Reflection实践

Unity预计算辐照度全局光照PRTGI实践与拓展(上)

Unity预计算辐照度全局光照PRTGI实践与拓展(下)

IllusionRP:Unity URP高质量渲染开发实践

License

Licensed under the Unity Companion License for Unity-dependent projects--see Unity Companion License.

Unless expressly provided otherwise, the Software under this license is made available strictly on an "AS IS" BASIS WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED. Please review the license for details on these and other terms and conditions.

For integrated third-party code, please refer to their licenses included in the package.

関連プロジェクトを探す

読み込み中…