shader-program icon indicating copy to clipboard operation
shader-program copied to clipboard

Lightweight WebGL Shader Helper

Results 7 shader-program issues
Sort by recently updated
recently updated
newest added

**In Vite+TS project, there is no problem in development mode, but it is not valid after packaging. How to solve it? Thanks!** I'm using Waves. ``` "vue": "^3.3.10" "vite": "^5.0.5"...

Fix for ```Performance warning: clear() called with no buffers in bitmask``` ```WebGL: too many errors, no more errors will be reported to the console for this context.```

So the colors are controlled by `color.push( 0, 1 - ( x / width ) * 1, 0.5 + x / width * 0.5, z / depth )`, but what's...

Open the console. There will be 256 warnings. https://jsfiddle.net/ex6vut9b/

How do I change the color? Thanks.

Function local variables can be assigned to by using Object Destructuring. You can find out more about Object Destructuring here: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Destructuring_assignment Example: Without Destructuring: ``` let a = this.a; let...

Hi Boris, we would like to use your wave shader for our project. The shader is really beautiful and is a good fit for our page. But we are missing...