As of now I’ve been baking lighting onto my textures in maya, because I don’t know how to create a 2nd UV set for the lightmap. I hate baked textures because they are hard to reuse elsewhere in another level. Could someone explain the procedure for getting lightmaps out of maya and into unity? Or maybe point me towards a tutorial (I looked but couldn’t find one). I’ve been using Maya for awhile now and it still kicks my ass sometimes :?
Thanks
However, if you’re working Maya on a PC and moving the textures individually, they can be found here:
My Documents\maya\projects*PROJECT*\renderData\mentalray\lightMap\
Depending on how you named them, they could be copied to your Unity asset folder.
You do NOT need to bake anything else than the lightmap in your MR bake settings, however fiddling around with the settings will give you the proper result.
In Unity, you assign the Lightmap to the proper channel on the Lightmapshader, I guess. It always work for me by just switching the shadertype, on the imported material…
</assuming Mental Ray>
You can duplicate an UV-set in Maya by selecting the mesh and in “Create UV’s/Copy UV’s to UV-set/Copy into new UV-set”.
I like to do this, and make two layers, and make some layer-overrides to switch between baked and non-baked textures.
Thank you, that was extremely helpful