I am working on learning more TSL and functionality by converting known shaders/graphs to TSL, one way is with blender.
However I noticed Blender’s NoiseTexture’s are all actually tiling noises where the MX Noise functions are standard flowing ones.
So I want to use the new Simplex Tiling noises: GitHub - stegu/psrdnoise: Tiling simplex flow noise in 2-D and 3-D compatible with GLSL 1.20 (WebGL 1.0) and above.
These noises already have glsl and wgsl versions, and I’d like to be able to use them directly without having to rewrite them in TSL which will then just build a bastardized version of the originals anyway.
I know I can use the wgslFn or glslFn nodes, but that wont fallback correctly.
What I’d like to do is build a TilableNoise node that takes the params and then I can make a tsl fn like:
tilableNoise2d(vector, args…); or tilableNoise3d()
I’ve found scriptable nodes, code nodes, etc etc etc but theres no node docs on how the node works and where the code would go etc.
Any guidance would be much appreciated!