From: metalgearsloth <31366439+metalgearsloth@users.noreply.github.com> Date: Mon, 10 Mar 2025 04:17:53 +0000 (+1100) Subject: Fix sun shadows in ANGLE (#35757) X-Git-Url: https://git.smokeofanarchy.ru/gitweb.cgi?a=commitdiff_plain;h=b8b6634c0f5eeed35deec639235aecc83f4c25b5;p=space-station-14.git Fix sun shadows in ANGLE (#35757) I think I fat-fingered a ctrl-Z on this at some point but the intermediate blur is necessary. --- diff --git a/Content.Client/Light/SunShadowOverlay.cs b/Content.Client/Light/SunShadowOverlay.cs index de8b5ed490..38bb927676 100644 --- a/Content.Client/Light/SunShadowOverlay.cs +++ b/Content.Client/Light/SunShadowOverlay.cs @@ -134,7 +134,7 @@ public sealed class SunShadowOverlay : Overlay Color.Transparent); // Slightly blur it just to avoid aliasing issues on the later viewport-wide blur. - _clyde.BlurRenderTarget(viewport, _target, _target, eye, 1f); + _clyde.BlurRenderTarget(viewport, _target, _blurTarget!, eye, 1f); // Draw stencil (see roofoverlay). args.WorldHandle.RenderInRenderTarget(viewport.LightRenderTarget,