majikal Posted May 11, 2009 Share Posted May 11, 2009 (edited) Hello! How should i modify clay material so, that opacity on sruface would change according to world position... z=0 opacity 0 z=>1 opacity 1 I tried this but it doesnt work: thank you.... Edited May 11, 2009 by majikal Quote Link to comment Share on other sites More sharing options...
SpencerL Posted May 11, 2009 Share Posted May 11, 2009 i would take your "z" value from your vectofloat1 VOP and wire it into the bias of a "mix VOP". Wire your Zero constant vop in to the first input, and 1 into the second input of the mix. That should work. I havent tested it yet, but you may need to wire your "z" value into a clamp before wiring it into the mix bias. Quote Link to comment Share on other sites More sharing options...
majikal Posted May 11, 2009 Author Share Posted May 11, 2009 i would take your "z" value from your vectofloat1 VOP and wire it into the bias of a "mix VOP". Wire your Zero constant vop in to the first input, and 1 into the second input of the mix. That should work. I havent tested it yet, but you may need to wire your "z" value into a clamp before wiring it into the mix bias. Yes this work!!!!! Thank you very much!!!! I justy dont get why i need to use mix, why not directly position!! Quote Link to comment Share on other sites More sharing options...
majikal Posted May 11, 2009 Author Share Posted May 11, 2009 Yes this work!!!!! Thank you very much!!!!I justy dont get why i need to use mix, why not directly position!! aha... i dont get world positions form global variables! how to get world positions? Quote Link to comment Share on other sites More sharing options...
majikal Posted May 11, 2009 Author Share Posted May 11, 2009 (edited) transform vop will change from current to world space ... and mix vop is not neccesary (if you clamp) yeeee!!!! Edited May 11, 2009 by majikal Quote Link to comment Share on other sites More sharing options...
majikal Posted May 11, 2009 Author Share Posted May 11, 2009 btw: i love mantra .... hehehehe 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.