- Home /
lightmapping in Maya
I PMed aNTeNNa trEE about a week and a half ago, but haven't gotten a response, so I am trying here.
"So, I had a taste of Unity 3.0 for about 3 days until we had to roll back to 2.6 due to major animation bugs.
Now, I am trying to light map a scene in Maya. I am following your tutorial, using the house/trees you provided. A fellow artist and I get stuck in the same spot (and she has even taught Maya classes.)
We can get a successful AO render and a successful bake of the AO pass. We add lights to the scene, set up mental ray and get our Ray Trace pass. We combine our textures in Photoshop.
...from here on is where we can't get all the connections set up: After setting up the new LightMap material (graph/input connections, create a Layered Texture and connect it to the default input of LightMap) and selecting the input nodes of FinalShader and add those to the graph, you say to repeat the process for the HouseDiffuse material. Do we create another Layered Texture and connect it to the HouseDiffuse material too, or do we only select the HouseDiffuse input nodes and add those to the graph?
Select FinalShader and bring up Attribute Editor--->select File tab (huh? File tab? We are using Maya 2009, btw) At this step I renamed it to FinalLightMap in the Attribute Editor, and clicked the checkered icon next to Color, then chose File, then assigned the .psd. Is that okay?
We are lost at this point already, but I may as well ask...you say middle-mouse-drag FinalShader's texture node (we just renamed this to FinalLightMap, did we not?) onto the Layered Texture and choose inputs[n].color/[o] Which is the texture node? is it the place2dTexture?
I think we are so close, yet so far at the same time. Any help you could offer would be greatly appreciated.
thanks, kevin"
If anyone can help me, I would greatly appreciate it.
I am referring to: http://unity3d.com/support/resources/tutorials/lightmapping-in-maya
Has anyone gone through it successfully? We have our texture map (with overlaps as is usually necessary) and our lightmap, (all auto-neatly laid out with no overlaps) but we get stuck on getting them both to show properly. The shader connection part is what seems to be confusing...as I said, even for a co-worker that used to be a Maya instructor...
Answer by Sushi.du · Sep 15, 2010 at 10:11 AM
Hello, I just had the same problem like you. I tried out a few things and this is how it worked for me now. The process you should repeat with the "HouseDiffuse" Material is only the last one, meaning: Right-click on the HouseDiffuse and in the contextual menu, choose Select Input Nodes. Now go to Graph/Add Selected to Graph.
With "select File tab" it was meant the button next to incandescence, where there's already a file connected to.
The texture node is not the place2dTexture it's the one before, where it shows the picture of the texture.
Hope it helps you