Skip to content

GUI: Rendering fixes - #1602

Merged
einarf merged 5 commits into
developmentfrom
gui-render-issues
Mar 3, 2023
Merged

einarf merged 5 commits into
developmentfrom
gui-render-issues

Conversation

@einarf

@einarf einarf commented Mar 3, 2023 •

Copy link
Copy Markdown
Member
  • Surface.draw now takes an optional (x, y, w, h) area limiting what part of the surface is rendered. This is sometimes simer to use than setting a scissor box.
  • UIManager now has a camera. This is activated when drawing the surfaces to the screen
  • Surface now has a "draw" and "draw into" blend function that is automatically set internally to reduce the chance of alpha issues.
  • Moved the surface shader source to files

@einarf

einarf commented Mar 3, 2023

Copy link
Copy Markdown
Member Author

Closes #1595
Closes #1594

@einarf
einarf merged commit e61ba92 into development Mar 3, 2023
@einarf
einarf deleted the gui-render-issues branch March 3, 2023 20:49
@einarf

einarf commented Mar 6, 2023

Copy link
Copy Markdown
Member Author

#1523

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant