diff --git a/Scripts/StochasticReflections.cs b/Scripts/StochasticReflections.cs index 300fbd2..6466ea5 100644 --- a/Scripts/StochasticReflections.cs +++ b/Scripts/StochasticReflections.cs @@ -384,7 +384,7 @@ public override void Render(PostProcessRenderContext context) } for (int i = 0; i < MAX_MIN_Z_LEVELS; i++) - context.command.ReleaseTemporaryRT(mipIDs[i]); + context.command.ReleaseTemporaryRT(depthIds[i]); context.command.SetGlobalTexture(Uniforms.MinDepth, visibilityTex1);