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

Commit 36c8a82

Browse files
committed
Something's wrong with GLCore compute for color grading, fall back to non-compute version for now
1 parent 0170c0d commit 36c8a82

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

PostProcessing/Runtime/Effects/ColorGrading.cs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,9 @@ enum Pass
174174
public override void Render(PostProcessRenderContext context)
175175
{
176176
var gradingMode = settings.gradingMode.value;
177-
var supportComputeTex3D = SystemInfo.supports3DRenderTextures && SystemInfo.supportsComputeShaders;
177+
var supportComputeTex3D = SystemInfo.supports3DRenderTextures
178+
&& SystemInfo.supportsComputeShaders
179+
&& SystemInfo.graphicsDeviceType != GraphicsDeviceType.OpenGLCore;
178180

179181
if (gradingMode == GradingMode.External)
180182
RenderExternalPipeline3D(context);

0 commit comments

Comments
 (0)