Lighting issue WebGPU

Hi there,

I am currently using the latest Three.js version (r174) with WebGPU, and previously I was working with version r171. In the latest version, I noticed that the dynamic lighting add/delete functionality has been fixed.

However, I’ve encountered an issue where I’ve lost my subsurface scattering shader while simulating a day-night cycle for my room using WebGPU.

My question is:

  • Is the WebGL subsurface scattering shader compatible with WebGPU in the latest Three.js version (r174)?
  • Or do I need to create a custom subsurface scattering shader specifically for WebGPU?

Any insights would be greatly appreciated!

Subsurface using WebGL:

Subsurface using WebGPU