Just a simple API question. I was wondering if the WebGPURenderer had an equivalent to the ShaderChunk replacement, as seen in something like this example from webgl_gpgpu_water. Can individual parts of the StandardMaterial shader be replaced with this level of granularity in WebGPU or would the entire StandardMaterial vertex pipeline have to replaced in something like the material’s setupVertex function?
shader.vertexShader = shader.vertexShader.replace( '#include <common>', shaderChange.common ); //shader.vertexShader = 'uniform sampler2D heightmap;\n' + shader.vertexShader; shader.vertexShader = shader.vertexShader.replace( '#include <beginnormal_vertex>', shaderChange.beginnormal_vertex ); shader.vertexShader = shader.vertexShader.replace( '#include <begin_vertex>', shaderChange.begin_vertex );