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

Implement CanvasGroup and CanvasItem clipping #43167

Merged
merged 2 commits into from
Oct 29, 2020

Conversation

reduz
Copy link
Member

@reduz reduz commented Oct 28, 2020

  • Allows merging several 2D objects into a single draw operation
  • Use current node to clip children nodes
  • Further fixes to Vulkan barriers
  • Changed font texture generation to white, fixes dark eges when blurred
  • Other small misc fixes to backbuffer code.

mask
cgroup1
clip

scene/main/canvas_item.h Outdated Show resolved Hide resolved
Copy link
Member

@akien-mga akien-mga left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I gave it a quick read and pinpointed some potential code quality fixes.
Giving it OK already anyway as it seems mostly good to merge, so it can be merged while I sleep ;)

-Allows merging several 2D objects into a single draw operation
-Use current node to clip children nodes
-Further fixes to Vulkan barriers
-Changed font texture generation to white, fixes dark eges when blurred
-Other small misc fixes to backbuffer code.
Co-authored-by: Hugo Locurcio <hugo.locurcio@hugo.pro>
@reduz reduz merged commit 50da616 into godotengine:master Oct 29, 2020
@akien-mga
Copy link
Member

akien-mga commented Oct 29, 2020

An "Update $filename" commit and it's not even Halloween yet 🙀

@Zireael07
Copy link
Contributor

Vulkan only or is that for GLES too?

@Calinou
Copy link
Member

Calinou commented Oct 30, 2020

@Zireael07 Given how this relies on low-level rendering changes, I doubt this can be reimplemented in GLES3 or GLES2 efficiently.

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

Successfully merging this pull request may close these issues.

5 participants