Perminder Singh
Perminder Singh
As we're making breaking changes in this PR, we’ll end up with two distinct methods for applying shaders: `strokeShader()` and `imageShader()`. I'm considering whether we should also rename `shader()` to...
Thankyou @lukeplowden @davepagurek and @Garima3110 for your thoughts. > With imageShader() is the idea to affect image() calls? I'm curious to see how that one will work! We are now...
Okay, @Garima3110 currently, the `imageShader` is not working. As we discussed on the call, we need to troubleshoot some functions. For example, if you see the code https://github.com/processing/p5.js/blob/5fbde13db72c894941db5c92eba919af08ed8132/src/webgl/p5.Shader.js#L1374 we check...
> `defaultStrokeShader` How about `lineShader()` @davepagurek ? For hooks?
Just a question: Suppose we render something, like a rectangle with a red color, and then apply the `filter(BLUR)` function. Naturally, the result is a slightly blurred red rectangle. Now,...
This is still a work in progress PR
> Please check the following patch. I get a bunch of errors from the shaders on my Mac, because texture2D is renamed to texture: [texture.patch](https://github.com/user-attachments/files/16103347/texture.patch) > > Nothing renders yet,...
> Any "deprecated" OpenGL code is not allowed in OpenGL Core Profile. > > So the trick is looking around for deprecated code. Everything else in the code looks fine...
Thankyou so much @cryos for your thoughts. > I think the outColor versus gl_FragColor needs to be handled properly, I don't really see where outColor gets hooked up to anything,...
[Screencast from 01-09-24 04:01:28 AM IST.webm](https://github.com/user-attachments/assets/0e8dba05-6b1d-48e8-bf79-88ad9bae2ce2) Starting with a low resolution mesh, as the generation of high res mesh gets completed we replaces the meshes.