THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 13/11/2009 at 15:37, xxxxxxxx wrote:
User Information:
Cinema 4D Version: 11
Platform: Windows ;
Language(s) : C++ ;
---------
So I have created materials and objects in the plugin that I am working on. I would like to add the fresnel shader to the COLOR channel and change the colors within that fresnel shader. Can someone explain to me how this is done?
I have been using :
SetParameter() to set the Color Channel's parameters but the parameter for the color channel that houses the fresnel shader is...
SetParameter(MATERIAL_COLOR_SHADER,?,NULL);
I am not sure what to put for the ? argument.. or if this is even the correct course of action.
Please any help would be greatly appreciated.
Thanks,
~Shawn