VG-europe
03-13-2007, 05:18 AM
Hello,
I want to light a maya scene from 3D objects with textures, the same way the IBL light a scene !
So my question is how to make the materials of an object produce light dependant to the color texture, kind of lightmap ?
I’ve first tried to put these objects’ ambient color to white and actived the FG. So I got my scene lightened with the color dependant to the texture connected in color, good reflection but no specular effects and no shadows.
After some research on the web I have found the ctrl_objectlights shader, but my goal is not to make a light with a custom shape but to light the scene from 3D objects and textures !
Is someone have an idea to make those objects and textures create ambiant, specular and shadow effects ?
Would be great, Thanks
I want to light a maya scene from 3D objects with textures, the same way the IBL light a scene !
So my question is how to make the materials of an object produce light dependant to the color texture, kind of lightmap ?
I’ve first tried to put these objects’ ambient color to white and actived the FG. So I got my scene lightened with the color dependant to the texture connected in color, good reflection but no specular effects and no shadows.
After some research on the web I have found the ctrl_objectlights shader, but my goal is not to make a light with a custom shape but to light the scene from 3D objects and textures !
Is someone have an idea to make those objects and textures create ambiant, specular and shadow effects ?
Would be great, Thanks