Game Development Reference
In-Depth Information
When you created the normal map, Maya also created a new texture file node
pointing to it. You can see this in the Hypershade Textures tab and in
Figure A.6
.
We now want to connect this to our new Lambert shader.
FIGURE A.6
Maya also creates a file node pointing to the normal map.
3.
Open the Connection Editor (Window > General Editors > Connection Editor), and
load the texture node, which should be called file1, into the Outputs section. Load
the NormShader into the Inputs section.
4.
As demonstrated in
Figure A.7
, connect the Out Color attribute of the file1 node
to the Normal Camera attribute of the NormShader node.