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

Support Uniform Buffer Objects in Materials and Postprocessors #3086

Open
eonarheim opened this issue Jun 1, 2024 · 1 comment
Open

Support Uniform Buffer Objects in Materials and Postprocessors #3086

eonarheim opened this issue Jun 1, 2024 · 1 comment
Labels
feature Label applied to new feature requests stale This issue or PR has not had any activity recently

Comments

@eonarheim
Copy link
Member

Context

Currently when building lighting systems, developers need to set multiple uniform values for each light. WebGL 2 and WebGPU have a concept of a Uniform Buffer Object to store a buffer of uniforms. This can be thought of an array of uniforms and greatly simplifies uploading a list of unform values.

Proposal

Update Materials and Postprocessors to support Uniform Buffer Objects

We should add a way to set a UBO on the ex.Shader similar to our other uniform methods.

Suggested Material API TBD.

@eonarheim eonarheim added the feature Label applied to new feature requests label Jun 1, 2024
Copy link

github-actions bot commented Aug 1, 2024

This issue hasn't had any recent activity lately and is being marked as stale automatically.

@github-actions github-actions bot added the stale This issue or PR has not had any activity recently label Aug 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature Label applied to new feature requests stale This issue or PR has not had any activity recently
Projects
None yet
Development

No branches or pull requests

1 participant