This gizmo compares two position passes to create an fake occlusion pass
fake occlusion
Updated: 1 December 2015
Author: simorlabrasse
Compatible Nuke versions: 6.0 or later
Compatibility:
This gizmo is not perfect, but can do the trick in some situations.
Plug two different position passes of the objects that are in contact one with the other. The occlusion pass is created in the alpha.
######
To install :
Copy the 'occlu.gizmo' in your .nuke folder or any folder read by nuke at startup
add this line to your 'menu.py' :
nuke.menu( 'Nuke' ).addCommand( 'myMeny/occlu', 'nuke.createNode(\'occlu.gizmo\')')
Of course, you can change 'myMenu' by the menu name you want.
Thanks !
If you have any question, just ask !