Giter VIP home page Giter VIP logo

hdrp10's Introduction

HDRP10

HDRP10 is a video format converter for Unity HDRP that allows HDR video output via Windows HD Color.

comparison

Left: Standard dynamic range. Right: HDR enabled. You can see banding in the dark area of the left photo. I used Dell U2720QM HDR monitor and took these photos with an overexposure setting to emphasize the effect.

Please note that this is just a proof-of-concept implementation. I wouldn't recommend using it in a practical application.

How to install the package

Download this repository and copy Packages/jp.keijiro.hdrp10 into your project's Packages directory.

How to use the format converter

Firstly, enable the HDR mode (Use display in HDR mode) in Player Settings.

HDRP10 only supports 10-bit HDR buffer, so set Swap Chain Bit Depth to Bit Depth 10.

screenshot

Then add Hdrp10.FormatConversion to After Post Process (Project Settings -> HDRP Default Settings -> Custom Post Process Orders).

screenshot

Create a volume profile to disable Tonemapping and enable Format Conversion. Select Rec. 2020 ST 2084 in Format. You can also specify a paper-white brightness (in nits).

screenshot

Optional: It's recommended increasing the color buffer precision in Color Buffer Format and Post-processing Buffer Format.

screenshot screenshot

What this package does

By disabling tonemapping, we get scene-linear images from HDRP with the Rec. 709 color primaries. The Format Conversion effect converts them using the Rec. 2020 color primaries, then apply the SMPTE ST 2084 transfer function (PQ).

This conversion process is implicitly done in the legacy (built-in) render pipeline but not in scriptable render pipelines. So I simply re-implemented it as a post-processing effect for HDRP.

hdrp10's People

Contributors

keijiro 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

Watchers

 avatar  avatar  avatar  avatar  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.