Skip to content

Support for back stencil configuration + blend configuration per target + dual source blending #16785

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

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Popov72
Copy link
Contributor

@Popov72 Popov72 commented Jun 21, 2025

!PLEASE KEEP IN DRAFT MODE / DON'T REVIEW, PR IS NOT COMPLETE YET!

This PR:

  • adds support for separate front and back stencil configurations
  • adds support for blend configuration per target (uses OES_draw_buffers_indexed in WebGL)
  • adds support for dual source blending (uses WEBGL_blend_func_extended in WebGL)
  • adds support for multi-target rendering to FrameGraphObjectRendererTask
  • adds support for multi-target clearing to FrameGraphClearTextureTask
  • adds support for dual source blending to FrameGraphPassTask

add support for blend configuration per target
add support for dual source blending
add support for multi-render target rendering to FrameGraphObjectRendererTask
add support for multi-target clearing to FrameGraphClearTextureTask
add support for dual source blending to FrameGraphPassTask
@bjsplat
Copy link
Collaborator

bjsplat commented Jun 21, 2025

Please make sure to label your PR with "bug", "new feature" or "breaking change" label(s).
To prevent this PR from going to the changelog marked it with the "skip changelog" label.

@bjsplat
Copy link
Collaborator

bjsplat commented Jun 21, 2025

@bjsplat
Copy link
Collaborator

bjsplat commented Jun 21, 2025

You have made possible changes to the playground.
You can test the snapshot here:

https://snapshots-cvgtc2eugrd3cgfd.z01.azurefd.net/PLAYGROUND/refs/pull/16785/merge/

The snapshot playground with the CDN snapshot (only when available):

https://snapshots-cvgtc2eugrd3cgfd.z01.azurefd.net/PLAYGROUND/refs/pull/16785/merge/?snapshot=refs/pull/16785/merge

Note that neither Babylon scenes nor textures are uploaded to the snapshot directory, so some playgrounds won't work correctly.

@bjsplat
Copy link
Collaborator

bjsplat commented Jun 21, 2025

You have changed file(s) that made possible changes to the sandbox.
You can test the sandbox snapshot here:

https://snapshots-cvgtc2eugrd3cgfd.z01.azurefd.net/SANDBOX/refs/pull/16785/merge/

@bjsplat
Copy link
Collaborator

bjsplat commented Jun 21, 2025

Graph tools CI has failed you can find the test results at:

https://snapshots-cvgtc2eugrd3cgfd.z01.azurefd.net/TOOLS/refs/pull/16785/merge/testResults/

@bjsplat
Copy link
Collaborator

bjsplat commented Jun 21, 2025

@bjsplat
Copy link
Collaborator

bjsplat commented Jun 21, 2025

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.

2 participants