Coder Social home page Coder Social logo

taa_unity_urp's Introduction

license PRs Welcome

Temporal Anti-Alasing for Unity’s Universal Render Pipeline

This Temporal Anti-Aliasing package provides Temporal Anti-Aliasing for Unity's Universal Render Pipeline. It jitters the camera's projection before the whole rendering process, which can samples different surfaces between adjacent frames. Temporal Anti-Aliasing pass can then be enabled to smooth to achieve better band-limiting image after the transparent rendering with the provided Temporal Anti-Aliasing Volume Component for Scriptable Render Pipeline's Volume system, supported by default in Universal Render Pipeline.

Instructions

  • Open your project manifest file (MyProject/Packages/manifest.json).
  • Add "com.xienaiwen.taa": "https://github.com/sienaiwun/TAA_Unity_URP.git", to the dependencies list.
  • Open or focus on Unity Editor to resolve packages.
  • Enable "Depth Texture" in the pipeline asset.
  • Add TAAFeature in the render's asset setting. Add_Features.png
  • Add "Temporal Anti-Aliasing" Component in the Post-process Vilome and set the "feedback" param to more than 0. Post-process%20Volumn.png

Requirements

  • Unity 2019.3.0f3 or higher.

Motivations

Unity's default Temporal Anti-Aliasing(TAA) has some problems in Universal Render Pipeline (URP). Natively, URP does not support TAA while Unity PostProcess V2 does support. However, PostProcess V2's support fails for TAA because it cannot jitter the camera in the ScriptableRenderPipeline [PostProcessLayer.cs] line:996(https://github.com/Unity-Technologies/PostProcessing/blob/v2/PostProcessing/Runtime/PostProcessLayer.cs) In the Frame Analysis, we also find there is no jitter in the native PostProcess V2 TAA pass.

TAA_PP_Failed

Result (4x scale ZoomIn)

NOAA.png TAA:

TAA.png

FXAA:

FXAA.png

MSAA2x:

MSAA2x.png

MSAA4x: MSAA4x.png

taa_unity_urp's People

Contributors

sienaiwun avatar kant avatar

Stargazers

 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.