Skip to content

Properly reset blend mode when resetting canvas in compatibility renderer#73006

Merged
akien-mga merged 1 commit into
godotengine:masterfrom
clayjohn:GL-blend-sub
Feb 10, 2023
Merged

Properly reset blend mode when resetting canvas in compatibility renderer#73006
akien-mga merged 1 commit into
godotengine:masterfrom
clayjohn:GL-blend-sub

Conversation

@clayjohn

@clayjohn clayjohn commented Feb 9, 2023

Copy link
Copy Markdown
Member

Fixes: #72488
Fixes: #72918

When using BLEND_SUB the blend equation is changed, so it needs to be reset before rendering. In 3D it is already reset before rendering happens

@akien-mga akien-mga merged commit 871c06a into godotengine:master Feb 10, 2023
@akien-mga

Copy link
Copy Markdown
Member

Thanks!

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

Projects

None yet

2 participants