Glib> Hmm... you sure you had it working in the Viewport? Cause I figured how to do it with the Software Renderer. I had a second look in the Hypershade stock nodes and I cannot figure out any method besides comparing the normals of the sampled surface and the rendered camera in order to determine if the surface is facing…
Hey guys, I'm trying to set up a shader in Maya that will let me choose between two different texture files depending on which side of the surface is facing the render camera. The catch is that I would like it to work in the Viewport/Maya Hardware. I know there's a useful samplerInfo node that has a flippedNormal attribute…
As far as i know you cant do this in real-time with mayas stock shaders. Your best bet if your goal is in view port renders is to create a cgfx shader that does what you like. If your most comfortable with using a node based shader creation method i reccomend using Mental Mill to create your shader and export in cgfx…