Jump to content

For Loop VOPs / VEX Builder


jon3de

Recommended Posts

Hi, 

I try to offset a texture with a For Loop in a shader. In the example file you can see I iterate 5 times and offset the texture  0.1 units with each iteration. 

Is it possible to combine all of the iteration steps and show the result of that in the rendered image? Like in the attached picture where I painted in the desired result with red. 

kind regards

Jon

forLoop_VexBuilder.jpg

forLoop_VexBuilder.hip

  • Like 1
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...