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

Commit 6ec5880

Browse files
authored
Merge pull request #114 from Unity-Technologies/fog-deferred-fix
Fix #113
2 parents 35d0b5d + b6743cd commit 6ec5880

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

PostProcessing/Runtime/Components/FogComponent.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ public override bool active
2222
{
2323
return model.enabled
2424
&& context.isGBufferAvailable // In forward fog is already done at shader level
25+
&& RenderSettings.fog
2526
&& !context.interrupted;
2627
}
2728
}

0 commit comments

Comments
 (0)