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

Commit d8e7f89

Browse files
committed
Fall back to path that does not use compute shader for ColorGrading in case the shader was stripped.
1 parent 993a5f5 commit d8e7f89

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

PostProcessing/Runtime/Effects/ColorGrading.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -176,6 +176,7 @@ public override void Render(PostProcessRenderContext context)
176176
var gradingMode = settings.gradingMode.value;
177177
var supportComputeTex3D = SystemInfo.supports3DRenderTextures
178178
&& SystemInfo.supportsComputeShaders
179+
&& context.resources.computeShaders.lut3DBaker != null
179180
&& SystemInfo.graphicsDeviceType != GraphicsDeviceType.OpenGLCore;
180181

181182
if (gradingMode == GradingMode.External)

0 commit comments

Comments
 (0)