Message 1 of 6
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
MtoA 2.0.1
Arnold core 5.0.1.0
I created a plug-in for the custom light filter and I manipulate the Liu parameter, but when I operate the Radius parameter on the GUI, I am in trouble because Liu parameter is overwritten.
Is there anyone who knows about this?
if( sg->light_filter )
{
AtRGB rgbLColor = AiNodeGetRGB( sg->light_filter->Lp, "color" );
float myIntensity = AiShaderEvalParamFlt( p_intensity );
sg->light_filter->Liu = rgbLColor * myIntensity;
}
Solved! Go to Solution.