miércoles, 25 de septiembre de 2013

Blender Cycles OSL: Copper Material

Hi everybody. Today I'm going to show you a migration to OSL of my Copper Material:

This is the Cycles version:

As I didwith my OSL Gold Material, I have migrated all the nodes information included in that
material to the code, trying to minimize the overhead of the node
system. This time the facing value is an input parameter in the script. So the OSL code is as follows: