Inverting Y-axis in Maya's High Quality Rendering

Hey folks,

Not sure if this is the right sub-forum, but it is a shader/rendering question, and it seems to fit here better than the Requests forum…

Basically I was wondering how I can set up Maya’s High Quality Rendering default viewport shader to have an option to flip the Y-axis of normal-maps. By default it displays them with Green = Y+, while our engine uses Green = Y-, so we have to use alternative shaders to get the normal-maps displaying appropriately in the viewport.

I’ve had a dig around the Maya program folder but can’t seem to find the shader that it’s using by default, and I can’t find any info on editing this stuff either online or in the Maya documentation.

Ideas?

-MoP

I was having the same issue recently I am not sure if this sollution applies to all versions of Maya. But in 2008 if you select your mesh and go to the attribute editor there is a tangent space section in there switch the coordinate system to display left handed. This worked for me

Hope this helps

Ah, right on, thanks!

It seems a bit strange that this is a mesh setting rather than a material setting, since that means I have to set it for all meshes using a material rather than just once per material.

I wonder if there’s a way of setting this globally by default, so all new objects created will use the “Left Handed” setting.

You can set this as default in the preferences. It is under modelling/polygon tangent space there is a default coordinate system option

Perfect. I had been into that menu before, but never realized what those settings were for…

Thanks again!