Shape textures affect the shape of a 3D model, not its colors. They run in real-time just like the traditional textures. However, they require a sufficiently dense net of vertices.
This project provides Three.js Shading Language (TSL) textures. TSL textures are functions that generate textures at run-time on the GPU. Learn more about TSL and what makes it special. Contributions to this project are very welcome – either as new TSL textures or optimizations of existing ones. The texture functions are avaiable on GitHub and NPM. You may see them in action here: