Lyonz Posted March 14, 2012 Share Posted March 14, 2012 Hi all, Im looking for a way to swap between materials based on a color value, however for some reason im getting an error message ? Any ideas are much appreciated as ive looked through expressions and can only find shopstring relating to the shop network. if("$CR>0.1,"shopstring(Texture_1, )","shopstring(Texture_2, )" Cheers Quote Link to comment Share on other sites More sharing options...
symek Posted March 14, 2012 Share Posted March 14, 2012 (edited) Hi all, Im looking for a way to swap between materials based on a color value, however for some reason im getting an error message ? Any ideas are much appreciated as ive looked through expressions and can only find shopstring relating to the shop network. if("$CR>0.1,"shopstring(Texture_1, )","shopstring(Texture_2, )" Cheers hmm, shoptstring() has nothing to do here I suppose, bollow line setting shop_materialpath primitive attribute should handle it: `ifs($CR>0.5, "/shop/red", "/shop/blue")` Edited March 14, 2012 by SYmek Quote Link to comment Share on other sites More sharing options...
Lyonz Posted March 17, 2012 Author Share Posted March 17, 2012 hmm, shoptstring() has nothing to do here I suppose, bollow line setting shop_materialpath primitive attribute should handle it: `ifs($CR>0.5, "/shop/red", "/shop/blue")` 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.