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

Commit fef3918

Browse files
committed
Removed platform restriction
1 parent 113ad3b commit fef3918

1 file changed

Lines changed: 0 additions & 6 deletions

File tree

PostProcessing/Runtime/Effects/DepthOfField.cs

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -28,12 +28,6 @@ public sealed class DepthOfField : PostProcessEffectSettings
2828

2929
[DisplayName("Max Blur Size"), Tooltip("Convolution kernel size of the bokeh filter, which determines the maximum radius of bokeh. It also affects performances (the larger the kernel is, the longer the GPU time is required).")]
3030
public KernelSizeParameter kernelSize = new KernelSizeParameter { value = KernelSize.Medium };
31-
32-
public override bool IsEnabledAndSupported(PostProcessRenderContext context)
33-
{
34-
return enabled.value
35-
&& SystemInfo.SupportsRenderTextureFormat(RenderTextureFormat.ARGBHalf);
36-
}
3731
}
3832

3933
// TODO: Look into minimum blur amount in the distance, right now it's lerped until a point

0 commit comments

Comments
 (0)