For some reason, the latest version of three.js broke my WebGPU iFFT Ocean Wave Generator module.
EDIT Aug 8 **************************************************************************
It turns out that the problem was that one of the instructions in my module had a compdispatchSize parameter which was unnecessary. Prior to r179, this parameter was ignored and the module worked fine. However, r179 now processes that parameter. In my case, I was able to solve the problem by simply deleting the parameter. So most of the following discussion no longer has much meaning.
Thanks to everyone who contributed and eventually led me to the correct answer.
END EDIT ****************************************************************************
This is how it looks in r178: This is how it looks in r179 (and r179.1):
I have seen this pattern (or lack thereof) before, but I canāt remember what caused it or how I fixed it.
I donāt expect anyone to dig into my program or module, but does anyone have an idea what might be causing this? Is there some kind of simple programming change that I need to implement with r179?
In a nutshell, the module makes a series of linked computations, using WebGPU shaders (including a ping-pong operation) that generates XYZ displacements (wav_.Dsp) and a normal map(wav_.Nrm) that I attach to a segmented plane object using these commands:
positionNode: positionLocal.add(texture(wav_.Dsp).xyz),
normalNode: normalMap(texture(wav_.Nrm),normalMapScale),