You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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.
The text was updated successfully, but these errors were encountered: