-
-
Notifications
You must be signed in to change notification settings - Fork 35.5k
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
Nodes: Add enableExtension()
Method to GLSLNodeBuilder
#28952
Conversation
📦 Bundle sizeFull ESM build, minified and gzipped.
🌳 Bundle size after tree-shakingMinimal build including a renderer, camera, empty scene, and dependencies.
|
getExtension()
Method to GLSLNodeBuilder
enableExtension()
Method to GLSLNodeBuilder
This PR breaks the |
Shader stage is being passed in as null for the GL_ANGLE_Multi_Draw extension, which prevents the extension from being written in the vertex stage. I'll push in a fix. |
Related issue: #28915
Create a getExtension() function that allows for the conditional application of a GLSL extension when necessary to access a given feature within WebGPURenderer's webgl-fallback.
Example implementation: