From 418c62fd969b30a90b3e82c264144545973aee59 Mon Sep 17 00:00:00 2001 From: pastasfuture Date: Wed, 21 Jul 2021 16:08:46 -0700 Subject: [PATCH] Bugfix: Compression Volume: Compression volume rendering code was erroneously disabled in 1.4.0. Reenabled it. --- CHANGELOG.md | 5 +++++ Runtime/RenderPipeline/PSXRenderPipeline.cs | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index f2a354e..647c43e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,8 @@ +--------------------------------------------------------------------------------------------------------------------------- +Bugfix Compression Volume +--------------------------------------------------------------------------------------------------------------------------- +Compression volume rendering code was erroneously disabled in 1.4.0. Reenabled it. + --------------------------------------------------------------------------------------------------------------------------- New Lighting Feature: **Shadow Mask** --------------------------------------------------------------------------------------------------------------------------- diff --git a/Runtime/RenderPipeline/PSXRenderPipeline.cs b/Runtime/RenderPipeline/PSXRenderPipeline.cs index 3d339e2..55ce458 100644 --- a/Runtime/RenderPipeline/PSXRenderPipeline.cs +++ b/Runtime/RenderPipeline/PSXRenderPipeline.cs @@ -333,7 +333,7 @@ protected override void Render(ScriptableRenderContext context, Camera[] cameras cmd.SetRenderTarget(camera.targetTexture); { PushGlobalPostProcessingParameters(camera, cmd, m_Asset, rasterizationRT, rasterizationWidth, rasterizationHeight, cameraAspectModeUVScaleBias); - //PushCompressionParameters(camera, cmd, m_Asset, rasterizationRT, compressionCSKernels); + PushCompressionParameters(camera, cmd, m_Asset, rasterizationRT, compressionCSKernels); PushCathodeRayTubeParameters(camera, cmd, crtMaterial); PSXRenderPipeline.DrawFullScreenQuad(cmd, crtMaterial);