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

Commit 97d8387

Browse files
authored
Merge pull request #10 from keijiro/dof-bugfix
The DOF prefilter pass needs a gamma variant.
2 parents 58e4d6b + f2f0b4f commit 97d8387

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)