Hi,
I am writing an own small shader to do some basic stuff and have one big problem.. I am calculation the diffuse, specular and ambient color in the eval() method and am returning the combined color.
That's working fine and looks right, but as soon as I add some render-elements to get a specular pass for example, the result of my material looks wrong in this element.
But that's right too, because how should VRay know about my specular-values? I am not passing them to VRay anywhere.. only the combined result color.
So, how can I tell VRay what color to use for the specular-element-pass?
Thanks,
Aya
I am writing an own small shader to do some basic stuff and have one big problem.. I am calculation the diffuse, specular and ambient color in the eval() method and am returning the combined color.
That's working fine and looks right, but as soon as I add some render-elements to get a specular pass for example, the result of my material looks wrong in this element.
But that's right too, because how should VRay know about my specular-values? I am not passing them to VRay anywhere.. only the combined result color.
So, how can I tell VRay what color to use for the specular-element-pass?
Thanks,
Aya
Comment