Saya Posted November 4, 2015 Share Posted November 4, 2015 (edited) Hi,Im looking for a manual way to switch my textures on a model. Say I have a plank, a yellow texture and a green texture. I want to be able to switch from yellow to green. Like a switch node. Does anyone have an idea how to do this? Thanks in advance Edited November 4, 2015 by Marcomeeuwse Quote Link to comment Share on other sites More sharing options...
sl0throp Posted November 4, 2015 Share Posted November 4, 2015 Why not just use a switch in the Shop context once you dive into the material? You can use a color mix if you want to animate a blend between them. Quote Link to comment Share on other sites More sharing options...
konstantin magnus Posted November 4, 2015 Share Posted November 4, 2015 how about setting up three material nodes and a switch node? Quote Link to comment Share on other sites More sharing options...
old school Posted November 4, 2015 Share Posted November 4, 2015 You can use Material SOPs to do this. Material SOPs can use the shop_materialpath attribute or style sheets. Up to you. The Material SOP has the capability to do material overrides. Just use two Material SOPs to set up your settings then follow with a Switch SOP. See the attached scene file. Is this what you were after? Quote Link to comment Share on other sites More sharing options...
Atom Posted November 4, 2015 Share Posted November 4, 2015 You could also use a material stylesheet and an attribute to swap texture maps. Quote Link to comment Share on other sites More sharing options...
Saya Posted November 4, 2015 Author Share Posted November 4, 2015 wauw thanks to all, this newb learned something new. Sl0throp, i added the switch node but up untill a moment ago i didn't knew you could promote attributes, and add it to the parameters in my obj level. great idea to animate it. I'm going to use that later. Thanks for the help old school, your method is very nice, as i prefer to have everything in the obj level. A VOP always stress me out when i see such large nodes. Didn't knew you could do that. 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.