functions, includes and AOVs

Exercice I write a surface shader that uses a ures-defined function to compute the BRDF
using: a function
Tips:

 

img

Exercice II

put this function in an include file, and use a macro
using: #include and #define
Tips:

 

img

Exercice III

a surface that outputs ambient, diffuse and specular components in separate AOVs
using:  
Tips:

-AOVs stand for Arbitrary Ouput Varialbes are sometimes called Arbs.

img

 

 

 

 

- home - curriculum - competences - gallery -MEL scripts - shaders - contact - links -