Jump to content

Two Sided Shader - Stuck!

Recommended Posts

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...



Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...