I’m struggling a bit in Lens Studio when it comes to making complex shaders. They have a bunch of built-in stuff that is really great, but I’m stuck at using a procedural texture as an input for another patch.
E.g. I want the edges of some noise texture
The output of smoothstep is vec4, while the input of the edge node is a texture. In Spark, you could do this without even thinking about it. At the most you’d need to add a render pass node between the two.
It seems like there is the option for multiple passes on a material, just because of the existence of
material.mainPass but I don’t see anything in the docs that really go into depth.
Check out these super unhelpful docs on