Recently i’ve found this site, similar at Shadertoy, with some cool shaders that run with webGL 2 browsers.
I’ve tried to porting this one inside TD: shaderoo.org/?shader=yMP3J7
But i’m in stuck because there is a “void mainGeom” on Geom_A page (you can check on top left part of code window), on line 119 that i don’t know how traslate in TD.
Someone have some hints? From help page i suppose it refers to:
you have an array triangles, the vertices (and 3 attributes) of which you can define by their index in a mainGeom(out vertCoord, out vertAttrib, int vertIndex) function. for now its limited to 65536 triangles (or 196608 vertices)
It is possible to porting inside a GLSL TOP or it needs something else?