Skip to content

GUI: Rendering fixes#1602

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

GUI: Rendering fixes#1602
einarf merged 5 commits intodevelopmentfrom
gui-render-issues

Conversation

@einarf
Copy link
Member

@einarf einarf commented Mar 3, 2023

  • 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
Copy link
Member Author

einarf commented Mar 3, 2023

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
Copy link
Member Author

einarf commented Mar 6, 2023

#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