- Home /
UV Mapping / Lightmap Problem
Hi Guys, This is my first post to the forum as I have hit a snag in my workflow that I cant figure out and was hoping one of you may have come across this issue.
This is my first project using unity and Ive been happily light mapping from 3ds max and Vray, importing these maps into unity using the UV channel 1 for textures and UV channel 2 for lightmaps. See WIP image below.
Now the client has asked for the ability to alter the stitching on the chairs in the scene. So we have set up multiple textures for each stitch so they can be mapped onto the seams.
So Ive gone about this like I have the rest of the scene but cant get the mapping of the seam and lightmap to work together. see attached.
All I have been doing is swapping the UVs on model import to get the lightmaps to work but I then lose the seam mapping.
I tried adjusting the channels multiple times, tried them attached as one object with the chair and separately, Ive tried removing the polygon Ids in 3ds max as well.
Any ideas? Thanks
Answer by Jamie Vickery · Oct 17, 2012 at 04:51 PM
Spent all day researching this problem and I think Ive managed to solve this by adjusting the UV channel through the shader.
I didn't know this was possible as I am a complete noob at writing code.
Sorry for posting my own answer, I was ready to give up this morning.
Your answer
Follow this Question
Related Questions
split/line through my model? 1 Answer
Proper texture mapping with standart primitives 1 Answer
using script to fill the uv array 0 Answers
imported lightmap weird display in Unity 0 Answers