I'm working on some realtime stuff in Maya, using CGFX shaders. At some point I have to render lightmaps but rendering doesn't work with CGFX shaders. Obviously I could duplicate scene, assign a lambert, render lightmaps there and assign it back to the version with CGFX shader, but I'm just wondering if there is any simplier solution to it? Perhaps you had a smarter way of baking it without duplicating whole scene.
Thanks in advance,