How to change the default texture sampler in ComputeShader?

How to change the default texture sampler in ComputeShader? When I changed it, I always got an error message.

If I comment out these lines, it runs OK.


When you handle the sampler yourself, you must pass false as the third parameter of setTexture:

See Babylon.js docs

1 Like

Iā€™m so stupid. :sweat_smile: