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

Add constant blend mode and factor #4190

Merged
merged 2 commits into from
Apr 11, 2022
Merged

Conversation

slimbuck
Copy link
Member

This PR adds the missing blend modes (as documented here) to the webgl graphics device.

Also adds device.setBlendColor render state.

These states are needed in the model-viewer multiframe rendering here.

@slimbuck slimbuck added enhancement area: graphics Graphics related issue labels Apr 10, 2022
@slimbuck slimbuck requested a review from a team April 10, 2022 11:46
@slimbuck slimbuck self-assigned this Apr 10, 2022
@slimbuck slimbuck merged commit c1eb94f into playcanvas:main Apr 11, 2022
@slimbuck slimbuck deleted the blend-modes branch April 11, 2022 14:13
slimbuck added a commit that referenced this pull request Apr 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: graphics Graphics related issue
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants