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

Update LinearLightBlend.ts #10470

Open
wants to merge 1 commit into
base: dev
Choose a base branch
from
Open

Update LinearLightBlend.ts #10470

wants to merge 1 commit into from

Conversation

skyfish-qc
Copy link
Contributor

fix linearlight blend mode to consistent with Photoshop
The linear light mode is base+2*top-1. After modification, the display is consistent with that of Photoshop.

fix linearlight blend mode to consistent with Photoshop
Copy link

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

Latest deployment of this branch, based on commit 4859b5e:

Sandbox Source
pixi.js-sandbox Configuration

Copy link
Contributor Author

@skyfish-qc skyfish-qc left a comment

Choose a reason for hiding this comment

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

The linear light mode is base+2*top-1. After modification, the display is consistent with that of Photoshop.

@bigtimebuddy
Copy link
Member

Could you show an image preview of this change?

@GoodBoyDigital
Copy link
Member

Could you show an image preview of this change?

that would be great!

@Zyie Zyie added the v8 label Apr 30, 2024
@skyfish-qc
Copy link
Contributor Author

skyfish-qc commented May 13, 2024

(blend <= 0.5) ? linearBurn(base,2.0blend) : linearBurn(base,2.0(blend-0.5));
or modify the second linearBurn to linearDodge

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

Successfully merging this pull request may close these issues.

None yet

4 participants