- Home /
Lightmaps/objects and textures
I'm doing my lightmapping in Cheetah3d, as it is easier for me and produces more predictable results. However, I am noticing that the lightmap is attached to the texture as well as the object. For instance, I have 1 object which are walls with it's own lightmap. Then I have object 2 which is the ceiling which has a different lightmap. There is a common texture used in the 2 objects. If I change the lightmap on 1 object it also changes the lightmap on the other object. What's the best workaround for this? Include the ceiling with the walls and lightmap as one? Or create 2 different textures of the same thing to apply to each object?
Answer by Justin Warner · Dec 06, 2010 at 03:42 PM
Had this. Make an empty game object, add all the same things from one of the objects, so that it's its own game object... Should work!
Hope that helps =).
Not sure I got this right. I probably should have used the word meshes ins$$anonymous$$d of objects. The walls and ceiling are 2 of several meshes inside of 1 game object. I tried putting the walls and ceiling into a new game object and still didn't get independent lightmaps. I also tried just putting the ceiling into a new object and still got the same result.
Answer by studibaker · Dec 06, 2010 at 11:40 PM
It seems that Unity takes materials from Cheetah3d as just base colors. Only textures show up in the asset window. The way I had to deal with this was to create a small .jpeg with the same color as the material and assign it to a new material. Then in Unity, assign the appropriate lightmap and texture.
Your answer
Follow this Question
Related Questions
How to import lightmapped objects from Blender. 0 Answers
Unity3D: objeec 1 Answer
Black stains on texture after making object static 0 Answers
Unity Trees Material/Texture changed 0 Answers