...
Consider the following simplified line of code and the corresponding evaluation:
| Code Block |
|---|
Ci = Kd * diffuse() + Ks * specular(); |
|
To store the specular and diffuse components, along with weights, into the specular_aov and diffuse_aov output variables the code has to be changed in the following manner:
...
