Normal map
NormalMat
Updated: 4 May 2022
Author: Eyal
Compatible Nuke versions: 11.3 or later
Compatibility: Linux 64
NormalMat is a normal map shader that gives you the ability to add details to your geo using an image.
Use output channel if you want to output the normal from the scanline renderer, the buildin option inside the scanline render doesn't work with this tool. Other than that the tool works with the rest of the native lighs for the scanline renderer including the enviroment light.
There are two option for image input range:
- from 0 to 1, the plugin will shift it the range of -1 to 1
- from -1 to 1, in thise case nothing will be done.
The flip check box is just to 'fix' so normal that start to band too much.
Installation:
Place it inside the '.nuke' folder, Nuke will load it on startup.
In addtion, add those lines to the menu.py for a unique toolbar:
toolbar = nuke.toolbar('Nodes')
MyPluging = toolbar.addMenu('MyPlugins')
MyPluging.addCommand( 'NormalMat', 'nuke.createNode('NormalMat')', '' )
The tool usage is at the user's risk.