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 support for webgl2 uniform buffers #1821

Closed
deltakosh opened this issue Mar 1, 2017 · 4 comments
Closed

Add support for webgl2 uniform buffers #1821

deltakosh opened this issue Mar 1, 2017 · 4 comments

Comments

@deltakosh
Copy link
Contributor

No description provided.

@deltakosh deltakosh self-assigned this Mar 1, 2017
@deltakosh deltakosh added this to the Future milestone Mar 1, 2017
@quantuminformation
Copy link

I'm playing with webgl2 native now, wow so much code to write to do simple things)

Can you help me understand how uniform buffers will benifit babylon?

@deltakosh
Copy link
Contributor Author

deltakosh commented Mar 11, 2017

It will allow to update shader uniforms with less webGL calls.
Like instead of 10 calls to uniform1v you can do it with one.

When dealing with complex shaders like the one use by StandardMaterial or PBRMaterial the gain could be substantial

@CraigFeldspar
Copy link
Member

I'm on it 👍
Can you assign this to me ?

@deltakosh
Copy link
Contributor Author

I can only affect it to core members. But no worry I leave it to you :)

@deltakosh deltakosh modified the milestones: 3.0, Future Apr 21, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants