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.
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
Iām so stupid.