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

Commit f2f0b4f

Browse files
committed
Fixed: the DOF prefilter needs a gamma variant.
1 parent 839b431 commit f2f0b4f

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

PostProcessing/Resources/Shaders/DepthOfField.shader

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ Shader "Hidden/Post FX/Depth Of Field"
1818
Pass
1919
{
2020
CGPROGRAM
21+
#pragma multi_compile __ UNITY_COLORSPACE_GAMMA
2122
#pragma vertex VertDOF
2223
#pragma fragment FragPrefilter
2324
#include "DepthOfField.cginc"

0 commit comments

Comments
 (0)