Jump to content

link to different images using stamp


Recommended Posts

Hi,

 

I'm trying to use one shader that link to different images.

I named my images galaxy_1 galaxy_2 ... and I want to use the stamp function to change the image.

But it seem I'm doing something wrong.

Thanks

 

stamp_shader.png

Link to comment
Share on other sites

i'm afraid you can't use stamping like this. you can't stamp from different contexts (shader in your case). use print VOP to read and manipulate image file names stored in shader or you can use vex arrays to do that. here you go a suggestion how i'd handle it in it's very basic form:

https://vfxbrain.wordpress.com/2018/06/14/using-arrays-with-vex/

look for an example with butterfly textures.

cheers

Edited by davpe
  • 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...