Version: 
Back to list

Material :: convertHeightMapToNormalMap

Synopsis

   Convert a height map to a normal map

GUI Dialog

   

Script function

   material.convertHeightMapToNormalMap(hmap[, height]) -> nmap

Parameters

   hmap (Image) : Height map reference
   height (Double[optional] : Maximum height

Return value

   nmap (Image) : Normal map