Random plugin not included in shader source.
Open
- Dominant language
- JavaScript
- Stars
- 15.5k
- Forks
- 663
- PR merge metrics
- No merged PRs in 30d
Description
If `Math.random` is in a function added by `kernel.addFunction`, `kernel.setFunctions` or `gpu.addFunction` then the plugin is not includes in the shader source.
Workaround: add a comment with `// Math.random()` to your main kernel function.
Contributor guide
Assessment
This issue has not been assessed yet.