EnricoMonese / StochasticScreenSpaceReflection

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

StochasticScreenSpaceReflection

SSSR

Features

  • Contact hardening
  • Specular elongation
  • Sharp and blurry reflection
  • Per-pixel roughness and normal
  • Previous frame reprojection giving one free bounce reflection.
  • Convolved scene buffer mip chain.

Requirements

Unity 2017.1 and a shader model 5.0 ( dx11 ) graphic card.

How to use

Set project to Linear color space and deferred shading.

Then select your main camera and go to "cCharkes/Image Effects/Rendering/Stochastic Screen Space Reflection" or drag and drop the StochasticSSR.cs to your main camera inspector.

References

Thanks to Tomasz Stachowiak (@h3r2tic) for his help.

About

License:MIT License


Languages

Language:C# 54.5%Language:HLSL 29.2%Language:ShaderLab 16.3%