I'm interested in implementing a visual effect similar to the one demonstrated in the example here:
To achieve this, I want to modify the renderer to use WebGLRenderer instead of CanvasRenderer by changing:
renderer = new THREE.CanvasRenderer();
to
renderer = new THREE.WebGLRenderer();
This way, I aim to combine this effect with another that already utilizes WebGL.
However, when I make this change, I encounter errors with the rendering of particles, resulting in the following message:
three.js:18501 Uncaught TypeError: Cannot read property 'offset' of undefined at WebGLSpriteRenderer.render (three.js:18501) at WebGLRenderer.render (three.js:22287) at render (canvas_particles_waves.html:184) at animate (canvas_particles_waves.html:157)
Any suggestions or insights on how to resolve this issue?
Thank you in advance!