This is available in github
https://github.com/unitycoder/NormalMapFromTexture“Normal Map Maker” - Simple editor plugin for creating normal(bump) maps from textures.* This is not “super quality” normal map generator, there are professional tools for that. Rather it is a “poor man’s” tool for testing.** Note. Specular map is created as a separate texture.FEATURES- Create normal(bump) map from any texture- Adjustable bumpiness strength- Median filter with adjustable size- Basic specular map creation also included- Adjustable brightness cutoff- Adjustable specular contrast- Progress bar with cancel button- Automatically set [x] Read/Write enabled for source texture (for temporarily)- Automatically set created texture “ Texture type: Normal Map”- Textures are created to the same folder as the source with added suffix “_normal” or “_specular”- C# source (inside custom namespace)NEW 1.2- Runtime version (create normal, specular maps and filtering at runtime)- Runtime demo scene added (loads texture from web, creates normal, specular & uses filter)- Runtime public methods: NormalMapTools.CreateNormalmap(), NormalMapTools.CreateSpecular(), NormalMapTools.FilterMedian(), NormalMapTools.CombineRGBAndSpecular()- Added 3 custom shaders (for using runtime made normal maps, because cannot use UnpackNormal() in shaders for those)More info: Blog post | Webplayer (normal mapped texture plane)Feel free to send feature requests!




