Comments (2)
@titouanc this used to work in the past through the unsafe shader function. The functionality was removed in 0.19 because the shader inputs depend on Elm record field names. Starting from 0.19 the field names are mangled when compiled in the optimize mode (to reduce asset size). In order for these names to match, the shader inputs had to be known at compile time.
from webgl.
Thanks for your fast reply @w0rm !
Unless you have another suggestion that would allow me to use native Elm webgl, I will then resort to ports and manage the webgl context in javascript.
from webgl.
Related Issues (20)
- Memory leak when creating a mesh in update/view HOT 1
- Version 1.1.0 Runtime error "Uncaught Error: Trying to use (==)"
- Mesh instancing support HOT 5
- Use gl.drawArrays for non-indexed meshes
- Hot-reloading corrupts shaders HOT 2
- Allow efficiently clearing depth and stencil buffers
- Allow creation of Textures from existing image data HOT 1
- Redundant WebGL calls HOT 5
- Add support for OES_standard_derivatives extension?
- Add premultiply option for texture loading
- Cache attribute locations for a program
- WebGL content can fail to show up immediately on Edge HOT 1
- Parallelise shader compilation and programs linking
- Don't bind attribute buffers for the same program if they don't change
- Enable OES_element_index_uint
- Workaround for uniform array type inference failure HOT 2
- Inconsistent default behavior for WebGL.entity between Firefox and Chrome HOT 4
- Texture colors altered on some browsers
- GLSL with apostrophes breaks JS output HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from webgl.