CinnamonMetal 15 Posted January 20 I know I'm doing something wrong, as I can't get this for loop to work on the material; it's not perfect, that is where I want to know what I did wrong ? LoopTexture.hipnc Share this post Link to post Share on other sites
davpe 149 Posted January 20 (edited) what do you expect to get? like this the loop doesn't make much sense. first, your "length" needs to be some non-zero constant integer value. secondly, "ïndex_in" typically gets no input as it acts as an iteration counter. then you generally want to add (or multiply, divide, whatever...) iterations results (var1 in your case) before exiting the loop to get any meaningful result. then you have to introduce some "change" at each iteration, which, currently, you haven't. you are just adding a constant number to your multiplier which will be the same at each iteration. loops are a bit tricky to grasp at first but when you do it's actually quite simple. Edited January 20 by davpe Share this post Link to post Share on other sites
CinnamonMetal 15 Posted January 21 I can write them in code, this node always throws me off. Share this post Link to post Share on other sites
CinnamonMetal 15 Posted January 25 @davpe Why would the loop apply to each primitive rather then the whole mesh, if I'm applying UV coordinates, using the UV coordinates vop ? Share this post Link to post Share on other sites