All Projects → simeonradivoev → Computestochasticreflections

simeonradivoev / Computestochasticreflections

Licence: mit
Compute Stochastic Screen Space Reflections for unity post processing

Programming Languages

reflection
70 projects

Projects that are alternatives of or similar to Computestochasticreflections

Nnao
Neural Network Ambien Occlusion based on http://theorangeduck.com/page/neural-network-ambient-occlusion
Stars: ✭ 57 (-65.03%)
Mutual labels:  unity, unity3d, graphics, shader, hlsl, effect
Kinobloom
Bloom effect for Unity
Stars: ✭ 704 (+331.9%)
Mutual labels:  unity, unity3d, graphics, shader, effect
Noiseshader
Noise shader library for Unity
Stars: ✭ 616 (+277.91%)
Mutual labels:  unity, unity3d, graphics, shader, hlsl
3d Game Shaders For Beginners
🎮 A step-by-step guide to implementing SSAO, depth of field, lighting, normal mapping, and more for your 3D game.
Stars: ✭ 11,698 (+7076.69%)
Mutual labels:  unity, unity3d, graphics, shader, hlsl
Hologramshader
✏️ Test of an hologram material made in Unity.
Stars: ✭ 684 (+319.63%)
Mutual labels:  unity, unity3d, graphics, shader, effect
Gpu Planetary Rendering
GPU atmosphertic scattering and planet generation in Unity 3D
Stars: ✭ 92 (-43.56%)
Mutual labels:  unity, unity3d, graphics, shader, hlsl
Radialprogressbar
Customizable radial progress bar shader for Unity3D. Allows you to set arc range, minimum and maximum colors, textures, radius, and a few more things. Create HP Bars, Speedometers, rank progress, etc!
Stars: ✭ 714 (+338.04%)
Mutual labels:  unity, unity3d, graphics, shader
Proccharvfx
Procedural character generation with Unity Shader Graph and VFX Graph
Stars: ✭ 114 (-30.06%)
Mutual labels:  unity, unity3d, shader, hlsl
Shadergraphexamples
Simple examples of Unity shader graphs.
Stars: ✭ 869 (+433.13%)
Mutual labels:  unity, unity3d, graphics, shader
Unitypcss
Nvidia's PCSS soft shadow algorithm implemented in Unity
Stars: ✭ 533 (+226.99%)
Mutual labels:  unity, unity3d, graphics, shader
Pcx
Point cloud importer & renderer for Unity
Stars: ✭ 806 (+394.48%)
Mutual labels:  unity, unity3d, graphics, shader
Lwrpshaders
A collection of high customizable unlit shaders for Lightweight Render Pipeline
Stars: ✭ 125 (-23.31%)
Mutual labels:  unity, unity3d, graphics, shader
X Postprocessing Library
Unity Post Processing Stack Library | Unity引擎的高品质后处理库
Stars: ✭ 1,079 (+561.96%)
Mutual labels:  unity, unity3d, shader, effect
Noiseball3
A Unity example that shows how to use the new implementation of DrawProcedural.
Stars: ✭ 147 (-9.82%)
Mutual labels:  unity, unity3d, graphics, shader
Swarm
An example of use of compute shaders and procedural instancing.
Stars: ✭ 547 (+235.58%)
Mutual labels:  unity, unity3d, graphics, shader
Testbedhdrp
Testbed project for Unity HDRP (High Definition Render Pipeline)
Stars: ✭ 859 (+426.99%)
Mutual labels:  unity, unity3d, graphics, shader
Unity Frosted Glass
❄️ Test of a frosted glass material in Unity.
Stars: ✭ 506 (+210.43%)
Mutual labels:  unity, unity3d, shader, effect
Texturepanner
This repository hosts a shader for Unity3D whose main goal is to facilitate the creation of neon-like signs, conveyor belts and basically whatever based on scrolling textures
Stars: ✭ 528 (+223.93%)
Mutual labels:  unity, unity3d, graphics, shader
Packedrgbmshader
32-bit packed color format with RGBM encoding for shader use
Stars: ✭ 39 (-76.07%)
Mutual labels:  unity, unity3d, graphics, shader
Drawmeshwithmotionvectors
An example showing how to generate per-object motion vectors when using DrawMesh.
Stars: ✭ 65 (-60.12%)
Mutual labels:  unity, unity3d, graphics, shader

Compute Stochastic Screen Space Reflections

Compute Stochastic Screen Space Reflections for Unity post processing. Utilizing shared memory for performance. Should be mostly production ready, except for a few Hierarchical Z-depth casting artifacts.

Contents

Features

  • Hierarchical Z-depth casting
  • Temporal reflection depth reprojection
  • Median Filtering for extra denoising
  • Reflection Color Mipmap Pyramid
  • Raycast and resolve pass downsampling
  • Frame reprojection for faking multiple bounces
  • Specular elongation
  • Contact hardening

Requirements

  • Works only with deferred rendering
  • Compute shader capable video card
  • Unity Post Processing v2
  • Tested with Unity 2018.2

Installation

In a unity project go to your Packages folder. Open manifest.json and add into the dependencies the following line:

"com.simeonradivoev.stochastic-reflections": "https://github.com/simeonradivoev/ComputeStochasticReflections.git"

It should look something like this:

{
    "dependencies": {
        "com.unity.ugui": "1.0.0",
        "com.unity.modules.ui": "1.0.0",
        "com.simeonradivoev.stochastic-reflections": "https://github.com/simeonradivoev/ComputeStochasticReflections.git",
    } 
}

Usage

Just add a new effect in a post processing profile under Custom/Stochastic Screen Space Reflections For VR use the test branch called StereoRendering. It currently only supports multi pass rendering.

References

Showcase

Real life usage

Screenshots

Before and After

Before After

Performance

Tested on a GTX 1070 at 1080p

  • Highest Quality, High Quality Blur

    • Raycasting: 1.4 ms
    • Blur: 0.73 ms
    • Temporal: 0.67 ms
    • Resolve: 0.55 ms
    • Total + Others: 4.15 ms
  • Raycast and Resolved downsampled, Low Quality Blur

    • Raycasting: 0.5 ms
    • Temporal: 0.19 ms
    • Resolve: 0.19 ms
    • Total + Others: 1.7 ms
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].