Skip to content

Commit ebb2d71

Browse files
eh-unityEvergreen
authored andcommitted
Fixed linear upscale tint by clearing keywords from previous settings.
1 parent d38d27c commit ebb2d71

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

Packages/com.unity.render-pipelines.universal/Runtime/Passes/PostProcessPassRenderGraph.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1418,6 +1418,7 @@ public void RenderFinalSetup(RenderGraph renderGraph, UniversalCameraData camera
14181418
using (var builder = renderGraph.AddRasterRenderPass<PostProcessingFinalSetupPassData>("Postprocessing Final Setup Pass", out var passData, ProfilingSampler.Get(URPProfileId.RG_FinalSetup)))
14191419
{
14201420
Material material = m_Materials.scalingSetup;
1421+
material.shaderKeywords = null;
14211422

14221423
if (settings.isFxaaEnabled)
14231424
material.EnableKeyword(ShaderKeywordStrings.Fxaa);

0 commit comments

Comments
 (0)