When using the DirectX 11 MayaUberShader, you can bind a UV set to each of the textures that are connected to the shader; for example, the diffuse map, normal map
and so forth. For more information about the MayaUberShader, see DirectX 11 Shader.
To bind a UV set to a texture map connected to the MayaUberShader
- Create UV sets, or texture co-ordinates, for your object.
You can bind up to 3 UV sets.
- Under the section of the dx11Shader , enter the name of your UV set for each of , where applicable. for the available options. You must add uv: in front of the name of your UVset; for example uv:uvSet. By default, TexCoord0 is mapped to uv:map1, TexCoord1 is mapped to uv:map2 and TexCoord2 is mapped to uv:map3.
You have now bound your UV sets to the DirectX 11 shader.
- Under the section of the dx11Shader , select from the drop-down list the TexCoord set that you want to bind to each of your texture maps.