Currently, I am in the process of developing a web-based height map generator using Three.js. The project involves utilizing multiple canvases to display the generated height map, individual octaves that make up the map, and a separate canvas to showcase how the height map affects a plane mesh.
While everything appears to be functioning well initially with all the predefined parameters, the issue arises when the canvases fail to update after the first render pass. This renders my program ineffective as the main goal is to manipulate various parameters of the height map using sliders and observe real-time changes.
Unfortunately, only the canvas displaying the 'real' 3D scene with the plane mesh seems to update. However, it appears that data from the initial render pass remains, giving the impression that the noise parameter uniforms are updating correctly - unlike the other canvases.
Prior to rendering each scene, I ensure that the `needsUpdate` field of the material meshes is set to `true`, yet this method only works for the last initialized canvas. I am at a loss here, as I have been unable to find any relevant information related to this problem.