I have a noise shader. The problem is that it does not scale with the size of the object.
Thus small objects look as if they have one color and big objects look like grain.
How can I scale the shader to achieve a similar look for objects of any size?
You can find the source code here: flolu/threejs-noise-scaling
To start the scene just run npm install and then npm start
If so, then, as an option, you can get the size of an object in world coordinates and use it for calculation of scaling, that you pass in a uniform to shaders:
PS It’s just an option/idea, not the ultimate solution.