Giter VIP home page Giter VIP logo

starrailnprshader's Introduction

StarRailNPRShader

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.

my wife 1

↑↑↑ My Wife ↑↑↑

my wife 2

↑↑↑ Also My Wife ↑↑↑

my wife 2

↑↑↑ Near ↑↑↑

Requirements

  • Unity 2022.3 (Recommended).
  • Universal RP 14.0 or higher.
  • My ShaderUtilsForSRP package.
  • Newtonsoft Json package 3.2.1 or higher (Optional).

Extra features

Asset preprocess:

  • Automatically smooth the normals of character models and store them into tangents. The file name of the model must match pattern ^Avatar_.+_00$.
  • Automatically process textures (if you haven't changed the file names after ripping them).

PostProcessing:

  • Custom bloom using the method shared by Jack He in Unite 2018.
  • Custom ACES tonemapping.

Guide

  • Use linear color space instead of gamma.
  • HDR should be enabled.
  • Depth priming must be disabled.
  • Depth texture must be enabled and generated by a depth prepass.
  • Rendering path must be forward currently.
  • Renderer Feature StarRailForward must be added to the renderer.

Special thanks

  • miHoYo
  • Related posts on Zhihu
  • Related videos on bilibili
  • °Nya°222

starrailnprshader's People

Contributors

stalomeow avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.