ziggx Posted April 5, 2006 Share Posted April 5, 2006 Hi there, I have a simple grid and I want to apply different textures to each side. I thought I could simply modify the twosided VEX by wiring in textures into the front and back. In principle, this worked and looked great in VEX Builder. BUT, when I saved out my shiny new two sided shader and then tried to apply it to my grid. DUH! I got nothing. As usual, I'm sure I've missed something extremely obvious but after three hours beating my head against a wall all I've got is a headache. Any soothing words of wisdom would be appreciated -- even better, please tell me what I'm doing wrong... TIA Ziggx Quote Link to comment Share on other sites More sharing options...
sibarrick Posted April 5, 2006 Share Posted April 5, 2006 Works fine for me. twosided.hipnc Quote Link to comment Share on other sites More sharing options...
ziggx Posted April 5, 2006 Author Share Posted April 5, 2006 Hi Simon, Works for me too now... Maybe I should have shut Houdini down and reopened it (Houdini voodoo)... Second question. On one side the texture is reversed. How do I fix that at the vop level? TIA Ziggx Works fine for me. twosided.hipnc 26317[/snapback] Quote Link to comment Share on other sites More sharing options...
sibarrick Posted April 5, 2006 Share Posted April 5, 2006 You'd have to modify the "s" or "t" (or uv if that is what you are using) and then pump that into the texture vop that is giving the reversed image. Use a global variables vop to get the s or t and then use a complement vop to change it to 1-s or 1-t. If you are using uv's then the same thing applies but just use a shading layer vop to grab the uv's instead of the global variables vop and then wire those into the s and t instead. Quote Link to comment Share on other sites More sharing options...
ziggx Posted April 6, 2006 Author Share Posted April 6, 2006 Thanks Simon, I had tried to use the Invert vop but I didn't think about (hmm didn't know about) the complement vop. Works a treat! Ziggx 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.