Skip to content

Commit

Permalink
blur fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
metalgearsloth committed Oct 14, 2024
1 parent 21b4c28 commit fbe438e
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
2 changes: 1 addition & 1 deletion Robust.Client/Graphics/Clyde/Clyde.LightRendering.cs
Original file line number Diff line number Diff line change
Expand Up @@ -674,7 +674,7 @@ public int Compare(
return (state.count, expandedBounds);
}

public void BlurLights(IClydeViewport viewport, IRenderTarget target, IEye eye, float multiplier = 14f)
private void BlurLights(IClydeViewport viewport, IRenderTarget target, IEye eye, float multiplier = 14f)
{
if (target is not RenderTexture rTexture || viewport is not Viewport rViewport)
return;
Expand Down
5 changes: 0 additions & 5 deletions Robust.Client/Graphics/Clyde/ClydeHeadless.cs
Original file line number Diff line number Diff line change
Expand Up @@ -188,11 +188,6 @@ public OwnedTexture CreateBlankTexture<T>(
return new DummyTexture(size);
}

public void BlurLights(IClydeViewport viewport, IRenderTarget target, IEye eye, float multiplier = 14)
{
// NOOP
}

public IRenderTexture CreateLightRenderTarget(Vector2i size, string? name = null, bool depthStencil = true)
{
return CreateRenderTarget(size, new RenderTargetFormatParameters(RenderTargetColorFormat.R8, hasDepthStencil: depthStencil), null, name: name);
Expand Down

0 comments on commit fbe438e

Please sign in to comment.