Skip to content

Xerxes1138/StochasticScreenSpaceReflection

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.