Open lukeellison opened 1 year ago
i got the same problem even when the textures are not immutable. that feature would be really useful to me, because i'm doing deeply iterative computations (currently, creating new textures for every iteration, which sometimes causes freezing or unpredictable jittering).
The array passed as a parameter cannot be modified internally, I don't know why
What is wrong?
Assignment to a texture fails with error
gpu-browser.min.js:28 Uncaught Error: Error compiling fragment shader: ERROR: 0:461: 'assign' : l-value required
. This should be possible but may not be implemented and would be useful. Regardless the error is cryptic.Where does it happen?
In Web2GL supported browser running on a mac.
How do we replicate the issue?
How important is this (1-5)?
I would say 2 because it currently doesn't break anything but the error and lack of claims that this is not supported is confusing. If it is supposed to be supported it should be higher.
Expected behavior (i.e. solution)
Should not error and should show:
Other Comments
Another solution would be to have some way of outputting a copied texture that was a different size to the kernel size? I.e different output size to kernel size.
Thank you for your time looking into this.