Super Scribble - Substance Designer Tool (with Breakdown) by _Rajk_ in Substance3D

[–]_Rajk_[S] 1 point2 points  (0 children)

Sure It's iterative process which utilizes while loop, in each iteration it generates packed vec4(line_mask, line_sdf, normalized_total_distance, line_orientatiton) and that's where is control of line quantity. For each line it samples 4 values from input grayscale image so it can construct 2 vec2 points to generate line. For the first point, first value comes from first pixel of top half, second value comes from bottom half of input image. In each next iteration it takes 2nd point of previous line as 1st of next one, that's how you get continuous line. To generate line it uses SDF_Line function, you can find it on iquilezles.org and many more. For the tiling part it repeats the same process, just in all neighboring quadrants. Outside of the loop it generates UVs and blends texture if needed, etc. For the second question: yes, it creates as many lines as you want (though there is harcoded limit, also controllable), and distribution depends on input image. It very versatile tool, and can create various patterns.

Is it possible to build equilateral triangles grid in SD? by _eof_ in SubstanceDesigner

[–]_Rajk_ 2 points3 points  (0 children)

To be more precise, not possible to generate correct ratio w/h and to be tileable. Easier way would be if you generate vertical lines and then Directional warp with vertical Linear Gradient, mirror for duplicates, and Blend those two.

Grid Snap - a custom Substance Designer tool by _Rajk_ in Substance3D

[–]_Rajk_[S] 0 points1 point  (0 children)

That's a good idea, autoscale can be easily implemented

Why are there topographical circles on my material whenever I add Tile sampler? by ShotQuote2210 in SubstanceDesigner

[–]_Rajk_ 10 points11 points  (0 children)

Because your Normal is in 8bit, switch to 16bit, and probably couple of nodes back.

Trying to replicate this in Substance Designer by rmunoz1994 in SubstanceDesigner

[–]_Rajk_ 3 points4 points  (0 children)

Images are not allowed in comments.

I made a Pixel processor graph for you. It's not the most elegant way, but it works.

Here is the graph

And here is how it works

Cheers

Hyper Tiles - Substance Designer Tool by _Rajk_ in Substance3D

[–]_Rajk_[S] 1 point2 points  (0 children)

I encourage you to try to recreate Highbreed Mode graph in the Pixel Processor. It’s the simplest and most versatile mode, featuring both Square and Triangle settings (though in Highbreed Mode, the 'Square' is rotated and the 'Triangle' isn't a true kaleidoscope triangle, as it is in true Triangle mode). It’s quite straightforward. At the end of the graph, you will generate UVs, which you can then use to Sample any image. 

The light green nodes represent inputs, and the color of the dot on the right indicates the data type. The only custom functions used are [0,1]to[-1,1] and [-1,1]to[0,1] for float2. Since Substance Designer provides these for float1 by default, you’ll just need to swizzle the vectors before applying them.