-
-
Notifications
You must be signed in to change notification settings - Fork 3.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Adding WebGL texture types #6166
Comments
Welcome! 👋 Thanks for opening your first issue here! And to ensure the community is able to respond to your issue, please make sure to fill out the inputs in the issue forms. Thank you! |
We might make some progress on this soon, as one of our Google Summer of Code project will involve using cubemaps, so we'll report back! |
Nice! For now I think I might just make my own p5.js addon since it sounds like it's only gonna come during the summer. |
awesome, feel free to ask on the p5 discord if you need any pointers on making that happen! |
Here's the library I created for anyone coming across this: https://github.com/RandomGamingDev/WebGL2Tex |
Can I also work on this issue ? |
@Vishal2002 Sure, but you'll probably want to ask for someone to assign you to this issue. @davepagurek could you help with that? |
Hi, thanks for your interest @Vishal2002! Before getting started, maybe we should iron out what specifically this request involves. @RandomGamingDev mentioned 3D textures and more texture formats. Either probably requires a bit of discussion of how to add them in, and maybe a motivating use of each that we would use as an example and would be used to guide the discussion of implementation. |
I want to work on this issue and learn more about the requirements, I know the basics of WEBGL like Camera, Texture and all.Should we discuss that on Discord or here. |
For each feature being added, probably we'll want a use in mind that motivates its inclusion, to guide the discussion and use as examples. Maybe Discord could be a good spot to brainstorm those before bringing them to Github to discuss? |
That sounds great. I'd also be happy to talk about it with others on Discord :D |
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?
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.The text was updated successfully, but these errors were encountered: