Back to Trending
RepositoryC#
ChillyHub

ChillyHub/Unity_StarRail_CRP_Sample

An example of a custom rendering pipeline that restores the rendering of HSR

157stars
25forks
0issues
3views

Featured achievements

The project's latest awards

1
TINIX TRENDING·Topic: urp

#1 Repository of the week

1
TINIX TRENDING·Topic: starrail

#1 Repository of the week

1
TINIX TRENDING·Topic: star-rail

#1 Repository of the week

Unity_StarRail_CRP_Sample

An example of a custom rendering pipeline that restores the rendering of HSR

[!TIP]

中文版 README 点这里

Effect

[!NOTE]

Initial effect. Will continue to adjust and optimize later.

[Scene] March 7th Room:

6

5

https://github.com/ChillyHub/Unity_StarRail_CRP_Sample/assets/75598757/b2778f2f-7ed6-43fa-a1aa-f8636c7432f4

https://github.com/ChillyHub/Unity_StarRail_CRP_Sample/assets/75598757/b9f3f9ad-6f5f-4fbc-b476-a5046f97a97f

Support Decal Light with Shadow --

https://github.com/ChillyHub/Unity_StarRail_CRP_Sample/assets/75598757/b0f7fae2-c645-4997-8faa-c3b4c6153563

[New Scene] Parlor Car:

Unfinished

ParlorCar

[New Scene] Characters Show:

The character has no self shadow, but can receive scene shadow at the same time.

https://github.com/ChillyHub/Unity_StarRail_CRP_Sample/assets/75598757/2a521a78-b633-42b7-99a9-730e9a436d51

[!TIP]

For more Effects Pictures and Videos, look at folder Temp.

Demo

Here is a very simple demo for Windows x64: Demo Release v0.0.4

Demo for Android is coming.

[!Tip]

The operation is similar to the game, read Release for more details.

Project Requirements

  • Unity 2022.3.8f1 (Base on URP)
  • Git and Git LFS

[!IMPORTANT]

Before clone this project, make sure you have install Git LFS. Otherwise some big FBX files will not clone successfully.

Download Git from this website, and install.

Then run git lfs install.

Use git lfs clone https://github.com/ChillyHub/Unity_StarRail_CRP_Sample.git to clone.

If still cannot download it completely, please download the unitypackage package from Demo Release v0.0.4.

[!WARNING]

Currently, there may be memory leak problem in multiple cameras and preview cameras, which needs to be fixed. Please note the memory usage.

About Custom Render Pipeline

Use a single Renderer Feature to manage custom passes. Use stencil deferred rendering for more colorful lighting. Also, per object shadows are used on the characters to achieve more variable shadow effects. This pipeline also has SSR and TAA Pass to help express more delicate images.

The following is the flow chart of the rendering pipeline:

Custom Render Pipeline

[!TIP]

For more information, read RenderPipeline.md and get details.

Source of Assets

  • miHoYo: models, textures, animations of characters.
  • Viero月城:models, textures of scenes. (such as Mar7th Room)

Future

  • Add HBAO
  • Add Volume Light
  • Add Screen Space Fog

Similar Projects

Discover other similar projects and AI models.

RepositoryC#
stalomeow/StarRailNPRShader

Fan-made shaders for Unity URP attempting to replicate the shading of Honkai: Star Rail.

985
Feb 12, 2025
RepositoryC#
stalomeow/DreamTicker

崩坏:星穹铁道 2.0 梦境迷钟,简单复刻。

114
Feb 19, 2024
RepositoryShaderLab
Gaolingx/HonkaiStarRailToonShader

This is a Honkai StarRail ToonLike Shader for unity(for URP)

412
May 28, 2025
RepositoryPython
kel-z/HSR-Scanner

Scanner for exporting light cone, relic, and character data from Honkai: Star Rail to JSON format.

206
Nov 17, 2026
RepositoryJavaScript
torikushiii/starrail-auto

Auto check-in and others for Honkai: Star Rail

106
Aug 3, 2024
RepositoryRust
torikushiii/hoyoverse-api

A high-performance fan made API for HoYoverse games

54
Oct 13, 2026
RepositoryC#
Scighost/Starward

Game Launcher for miHoYo - 米家游戏启动器

4.6k
Nov 26, 2026
RepositoryC#
Hoyotoon/HoyoToon

Shader for Unity (Built-in Rendering Pipeline) attempting to replicate the shading of miHoYo developed games. This is for datamined assets, not custom-made ones nor the MMD variants.

787
Aug 10, 2026
RepositoryPython
moesnow/March7thAssistant

日常交给三月七,开拓留给你。《崩坏:星穹铁道》开源自动化助手。

13.1k
Nov 29, 2026