charly Posted July 13, 2018 Share Posted July 13, 2018 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 Quote Link to comment Share on other sites More sharing options...
davpe Posted July 13, 2018 Share Posted July 13, 2018 (edited) 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 July 13, 2018 by davpe 1 Quote Link to comment Share on other sites More sharing options...
charly Posted July 13, 2018 Author Share Posted July 13, 2018 Thanks a lot for your answer David ! I'll check this out. Cheers Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.