NUKE Relighting Nodes

This was something I always wanted to do because A. relighting is great B. I wanted to try the speed of the NUKE API. Result were three nodes – Diffuse, Specular and a Rim Light node. We need a surface normal, word position and eye buffer. The rim light node is also great to create a  simple NdotEYE by just switching off the diffuse component.

 

Basic relighting session without additional render passses:

http_imgload.jpg

Diffuse and Specular nodes. Diffuse is able to create falloffs based on the light position in worldspace. The specular got phong and blinn calculation.

http_imgload (1).jpg

Two rim light examples. The first one ist standard from the left side and the second one with the fake metal call, which is the result of a coding error I transformed into a feature.

psu.jpg

Resulting teapot with 3 diffuse nodes 2 specs and a rim. The Rim node got a fake metal which looks a little bit anisotropic.

psu (1).jpg

Originally posted 2011-01-10 04:43:17.

点赞

发表评论

电子邮件地址不会被公开。 必填项已用*标注