- Home /
The question is answered on another site : http://gamedev.stackexchange.com/questions/106703/create-a-normal-map-using-a-script-unity/106705#106705
Create a normal map using a script?
I don't have a software that can create normal maps from an image so I usually make a grayscale image and then let unity make the normal map from that image. But I can't save the image to use for later, Instead I have to convert it to a normal map every time I use it. So how would I make a normal map from a greyscale using a script? i prefer c# but js works fine.
"I don't have a software that can create normal maps from an image..."
I think GI$$anonymous$$P can do this. I'd imagine that discussions on how to write it would be in image-manipulation forums. Usually you just check the surrounding pixels, looking for a brightness gradient, and tilt the normal to match it.
Answer by Xephex · Sep 03, 2015 at 02:18 AM
If you only need to make a texture you can use NormalMap-Online here. Allows you to turn any PNG 512x512 into a normal, displacement, occlusion or specular map. You can also download GIMP addons which will allow you to use any resolution.
Ive allready got my question answered on another site but thanks anyway :)
Follow this Question
Related Questions
Two bump map shader 0 Answers
Normal mipmapping problem 1 Answer
Export Normal Map from Selected Mesh 0 Answers
Texture stretching on normal maps 0 Answers