- From: James Browning <notifications@github.com>
- Date: Tue, 12 Nov 2019 21:36:23 -0800
- To: w3c/webcomponents <webcomponents@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Wednesday, 13 November 2019 05:36:26 UTC
Based on the spec it seems shaders are associated with a specific rendering context: https://www.khronos.org/registry/webgl/specs/latest/1.0/#5.8 We'd need do something about that, or alternatively just a way to import plaintext e.g. `import shader from './shader.glsl' as string;` then they can instantiate the shader objects in each context themselves. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/w3c/webcomponents/issues/853#issuecomment-553247365
Received on Wednesday, 13 November 2019 05:36:26 UTC