Skip to content
This repository was archived by the owner on Nov 30, 2020. It is now read-only.

Commit 50fb47f

Browse files
committed
Cleanup
1 parent 08caa8e commit 50fb47f

1 file changed

Lines changed: 0 additions & 22 deletions

File tree

PostProcessing/Resources/Shaders/Uber.shader

Lines changed: 0 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -210,28 +210,6 @@ Shader "Hidden/Post FX/Uber Shader"
210210
#endif
211211

212212
color = rgb;
213-
214-
/*
215-
// CoC radius
216-
half4 src = tex2D(_DepthOfFieldTex, uv);
217-
half coc = src.a / _MaxCoC;
218-
219-
// Visualize CoC (blue -> red -> green)
220-
half3 rgb = lerp(half3(1.0, 0.0, 0.0), half3(0.8, 0.8, 1.0), max(0.0, -coc));
221-
rgb = lerp(rgb, half3(0.8, 1.0, 0.8), max(0.0, coc));
222-
223-
// Black and white image overlay
224-
rgb *= dot(src.rgb, 0.5 / 3.0) + 0.5;
225-
226-
// Gamma correction
227-
#if !UNITY_COLORSPACE_GAMMA
228-
{
229-
rgb = GammaToLinearSpace(rgb);
230-
}
231-
#endif
232-
233-
color = rgb;
234-
*/
235213
}
236214
#endif
237215

0 commit comments

Comments
 (0)