Skip to content

medvedya/Height2NormalMap

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Height2NormalMap

This tool creates a normal map from height map. It uses Gaussian blur and Sobel operator for generation. Generation has four steps:

  • first blur;
  • generate normal map by Sobel operator;
  • second blur;
  • normalizing normal map.

It also can put height map to blue channel of texture.

It has Height2NormalMapPreview component to preview bump effect in Scene View when you configure generator options. It uses AssetPostprocessor to update normal map texture automatically when height map changing. It was tested on Unity 2017. Demonstration https://youtu.be/IC_reA68L1w

About

Height map to normal map converter for Unity

Resources

License

MIT, Unknown licenses found

Licenses found

MIT
LICENSE
Unknown
LICENSE.meta

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors