p5.js
p5.js copied to clipboard
Adding WebGL texture types
Increasing Access
p5.js's addition of shaders meant that a lot more was possible with the library, but the lack of precise texture control means that people either have to waste memory, speed, or themselves poke into the WebGL and p5.js code to get all the data needed for creating more specific textures. For example, if someone wanted 1d or 3d textures, or if they wanted to use UNSIGNED_BYTE textures.
Most appropriate sub-area of p5.js?
- [ ] Accessibility
- [ ] Color
- [X] Core/Environment/Rendering
- [ ] Data
- [ ] DOM
- [ ] Events
- [ ] Image
- [ ] IO
- [ ] Math
- [ ] Typography
- [ ] Utilities
- [X] WebGL
- [ ] Build Process
- [ ] Unit Testing
- [ ] Internalization
- [ ] Friendly Errors
- [ ] Other (specify if possible)
Feature request details
Give a function similar to the createImage
function for WebGL only that gives control over the WebGL parameters of the texture while also working with the other parts of the p5 library.