devNotes 2-5-2017 Screen Space Reflection
/** \author Michael Mara and Morgan McGuire, Casual Effects. 2015. */ Shader “Hidden/Post FX/Screen Space Reflection” { Properties { _MainTex (“Base (RGB)”, 2D) = “white” {} } CGINCLUDE #pragma target 3.0 #include “UnityCG.cginc” #include “UnityPBSLighting.cginc” #include “UnityStandardBRDF.cginc” #include “UnityStandardUtils.cginc” #include “Common.cginc” #include “ScreenSpaceRaytrace.cginc” float4 _ProjInfo; float4x4 _WorldToCameraMatrix; float4x4 _CameraToWorldMatrix; float4x4 _ProjectToPixelMatrix; float2 _ScreenSize; float2 _ReflectionBufferSize; … Continue reading devNotes 2-5-2017 Screen Space Reflection
Copy and paste this URL into your WordPress site to embed
Copy and paste this code into your site to embed