Creates a normal vector per-pixel from a monochrome input image (depth map.)
NormalMap
Updated: 15 October 2011
Author: jonathan
Compatible Nuke versions: 6.0 or later
Compatibility: Source
NormalMap accepts a depth channel (usually a heightfield image) and outputs a per-pixel normal based on perceived contours in the image.
Uses a Sobel filter to determine the contour.
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.