Coder Social home page Coder Social logo

hrp's Introduction

Hypnos Render Pipeline

pic0

About HRP

HRP (Hypnos Render Pipeline) is a Hybrid Render Pipeline that combines Rasterization and RayTracing features. It based on HRG (Hypnos Render Graph), thus render features can be easily removed or plug in.

HRP is based on GNU GENERAL PUBLIC LICENSE. This means that if you are using HRP, you must also publish your product in open source form. If you don't want this to happen, you can choose to use a commercial license instead.

Please note that this project is an experimental work, and it should not be considered production-ready. Many parts of it will or already have better solutions. If you want to use it in actual products, you'd better connect the developers for assistance.

Update Note

  • 2022.6 Add ReSTIR GI. paper

Install

Ensure that your graphic card supports hardware ray tracing acceleration. You may need at least an NV RTX2080 or higher to get a better user experience.

To use HRP, you will have to install Unity 2021.2 or higher. Update your graphics driver to the latest version and ensure that you are using Windows 10 with at least version 1501.

Then:

  • Use git clone https://github.com/Hypnos-Render-Pipeline/HRP.git to clone this repository.
  • Open Unity, change Project settings->Player->Other Settings->Rendering->Color Space to Linear.
  • Change Project settings->Player->Other Settings->Rendering->Auto Graphics API for Windows to False.
  • Change Project settings->Player->Other Settings->Rendering->Graphics APIs for Windows to Direct3D12 (Experimental).
  • Change Project settings->Player->Other Settings->Configuration->Api Compatibility Level to .NET 4.
  • Go to Window->Package Manager->Add package from disk..., choose package.json in the root dictionary of this repository.
  • Switch Project settings->Graphics->Scriptable Render Pipeline Settings to the Asset of HRP.

Features

HRG

pic0

HRG (Hypnos Render Graph) is a graph system used by HRP to built the entire render pipeline.

HRG is responsible for resources auto reuse and life cycle management. It also supports some useful features like performance profiling or intermediate result debug.

It has two different back ends. In editor, reflection is used to execute HRG by default. When building the application, a code generator is automatically used instead of runtime reflection.

VRender

pic4

VRender is a progressive off-line renderer integrated in HRP. It supports common render features of commercial renderers and will produce an almost unbiased result of the scene.

VRender supports all the Default Lit materials in HRP, including those generated with Shader Graph.

Shader Graph

Shader Graph is supported by HRP, but not perfectly supported at present. To use it, you can refer to the Official Documents of Shader Graph.

Lit

pic8

Default Lit material of HRP.

Surface type of Opaque, Volume and Thin Transparent.

Only support metallic-smoothness workflow at present.

Render Nodes

pic8

Built-in Render Nodes of HRP. It will be richer in the future.

Developers

[email protected]

[email protected]

hrp's People

Contributors

bladesero avatar haolange avatar lwj-cg avatar what-a-stupid-username avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

hrp's Issues

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.