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

Conversation

wixoaGit
Copy link
Member

RobustToolbox now keeps the shader as part of RenderInRenderTarget()'s state. This means once RenderInRenderTarget() returns, the old shader is put back. This unveiled a bug in our renderer that would reuse the old shader for the final render of a plane.

This fixes the dark HUD on Paradise.

@boring-cyborg boring-cyborg bot added the Client Involves the OpenDream client label Mar 13, 2025
@wixoaGit wixoaGit enabled auto-merge (squash) March 13, 2025 02:02
@wixoaGit wixoaGit merged commit 8692e46 into OpenDreamProject:master Mar 13, 2025
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Client Involves the OpenDream client size/XS
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant