Fan-made shaders for Unity URP attempting to replicate the shading of Honkai: Star Rail.
Fan-made shaders for Unity URP attempting to replicate the shading of Honkai: Star Rail. The shaders are not 100% accurate because this project is not a reverse engineering - what I do is to replicate the in-game looks to the best of my ability.
Sparkle | Firefly |
---|---|
Both Game model and MMD model.
Support Forward
and Forward+
rendering paths.
A single RendererFeature
to manage all custom passes.
Provide C# API to control some rendering behavior.
Characters receive only scene shadows and ignore self-shadows.
Per-object shadow, supporting up to 16 shadows on the same screen.
Custom bloom using the method shared by Jack He in Unite 2018.
Custom ACES tonemapping. The formula is
$$f(x)=\frac{x(ax+b)}{x(cx+d)+e}$$
where $a,b,c,d,e$ are all parameters.
material.json
inspector.