Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reset shader before final plane render #2243

Merged
merged 1 commit into from
Mar 13, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Reset shader before final plane render
  • Loading branch information
wixoaGit committed Mar 13, 2025
commit aa5ccf82ae90dbdc6b1a4d5589203730cf1b2162
1 change: 1 addition & 0 deletions OpenDreamClient/Rendering/DreamViewOverlay.cs
Original file line number Diff line number Diff line change
Expand Up @@ -580,6 +580,7 @@ private void DrawPlanes(DrawingHandleWorld handle, Box2 worldAABB) {
plane.Master.TextureOverride = plane.RenderTarget.Texture;
DrawIcon(handle, _baseRenderTarget!.Size, plane.Master, Vector2.Zero);
} else {
handle.UseShader(null);
handle.SetTransform(CreateRenderTargetFlipMatrix(_baseRenderTarget!.Size, Vector2.Zero));
handle.DrawTextureRect(plane.RenderTarget.Texture, Box2.FromTwoPoints(Vector2.Zero, _baseRenderTarget.Size));
}
Expand Down
Loading