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

Fix msaa_render_target on WebGL #487

Merged
merged 5 commits into from
Sep 22, 2024
Merged

Fix msaa_render_target on WebGL #487

merged 5 commits into from
Sep 22, 2024

Conversation

not-fl3
Copy link
Owner

@not-fl3 not-fl3 commented Sep 22, 2024

This PR introduce features.resolve_attachments, which is only available on gl3+ and WebGL2, and is responsible for multisampled render targets.

For now its also false on Metal, where render attachments are not yet implemented.

One WebGl2 glRenderbufferStorageMultisample requires a sized, not base variant of internal format
Just as instancing is only available on GL3, resolve attachments are only available on WebGL2 and gl3
@not-fl3 not-fl3 merged commit 7b14f8b into master Sep 22, 2024
20 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant