Barakooda Posted May 7, 2011 Share Posted May 7, 2011 Hi I looked around a little and i have no much experience with shading, can some one help me to get shader which consist of two different mantra shaders that appear according to the normal of the face. I saw the "two side" node but i`m not sure where to connect it or to achieve this shader . I make it for creation of leaf . J. Quote Link to comment Share on other sites More sharing options...
Owl Posted May 7, 2011 Share Posted May 7, 2011 Hi I looked around a little and i have no much experience with shading, can some one help me to get shader which consist of two different mantra shaders that appear according to the normal of the face. I saw the "two side" node but i`m not sure where to connect it or to achieve this shader . I make it for creation of leaf . J. Hi, here you go twosided.hip Quote Link to comment Share on other sites More sharing options...
Barakooda Posted May 7, 2011 Author Share Posted May 7, 2011 (edited) Hi, here you go twosided.hip Hey thanks mate , but i meant how instead of the colors i will able to place for example glass materiel on one side and chrome materiel on the other. i looked on this tutorial so there is no new information other then that you did it manually which is nice :-). http://www.digitaltutors.com/11/training.php?cid=116&vid=1681 I`m sure some one already made shader for that ... if not i will happy for some one to guide me and i will publish it on the forum . Edited May 7, 2011 by Barakooda Quote Link to comment Share on other sites More sharing options...
Erik_JE Posted May 7, 2011 Share Posted May 7, 2011 Use two different surface models. Switch between them depending on the dot product between the surface normal and the vector from the camera. Don't know if it will work for all objects. Ill make an example later if I have time. Quote Link to comment Share on other sites More sharing options...
Barakooda Posted May 8, 2011 Author Share Posted May 8, 2011 (edited) heheh, i marked "negative" my post ... do not download this file is older try of mine... why i cant delete my messages ? bahhhh leafyEXP.hipnc Edited May 9, 2011 by Barakooda 1 Quote Link to comment Share on other sites More sharing options...
Barakooda Posted May 8, 2011 Author Share Posted May 8, 2011 Thanks i made something quick only for the texture ... its enough for now. leafyEXP.hipnc Quote Link to comment Share on other sites More sharing options...
Erik_JE Posted May 8, 2011 Share Posted May 8, 2011 You might need to flip the normal as well to get correct shading on the backfacing. Quote Link to comment Share on other sites More sharing options...
Barakooda Posted May 11, 2011 Author Share Posted May 11, 2011 You might need to flip the normal as well to get correct shading on the backfacing. Thank you for your help Erik. 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.