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

Commit 88ce0b6

Browse files
committed
Fixed a small perf regression in color grading (HDR - 2D strip Lut)
1 parent 938d769 commit 88ce0b6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

PostProcessing/Runtime/Effects/ColorGrading.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -342,7 +342,7 @@ void RenderHDRPipeline2D(PostProcessRenderContext context)
342342
lutSheet.properties.SetVector(ShaderIDs.InvGamma, invgamma);
343343
lutSheet.properties.SetVector(ShaderIDs.Gain, gain);
344344

345-
lutSheet.properties.SetTexture(ShaderIDs.Curves, GetCurveTexture(false));
345+
lutSheet.properties.SetTexture(ShaderIDs.Curves, GetCurveTexture(true));
346346

347347
var tonemapper = settings.tonemapper.value;
348348
if (tonemapper == Tonemapper.Custom)

0 commit comments

Comments
 (0)