- Home /
Normal map appears to be wrong when generated
Hi
I am making a keyboard model on 3ds max for a unity project. I am trying to make a normal map baking for my model, with the "render to texture" functionnality. The work is almost done, but i have a mistake on the map. you can see the result here:
(click on the attached below, you will have a better shot)
The problem is that depending on the light is, the sides of my keys haves shadows, but all the same, like if they all receive the light from they front, or from they back at the same time.
I tried to play with the channel options, but i can't find a working setting. How can i fix this?
Thank you for reading.
Answer by OP_toss · Jun 13, 2013 at 08:19 PM
You have to invert the green channel of the normal map. Don't ask me why...
Answer by NanoH · Jun 14, 2013 at 12:47 AM
Works, thanks. I had an other problem, the "Create from grayscale" in the unity texture parameters was on, screwing up the lighting.
Thank you !
Your answer
![](https://koobas.hobune.stream/wayback/20220613104132im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Weird dark spots when baking light 1 Answer
Export Normal Map to *png 3 Answers
Black squares on the lightmap 0 Answers
Normal Map on Terrain 4 Answers
Object space normal map 0 Answers