Hello,
I am trying to retrieve weight AtRGB value from Closure, but for AI_CLOSURE_BSSRDF, it always return full white value. Right now it's working fine for AI_CLOSURE_BSDF.
Below a snippet of code extracted from the evaluate part of shader.
AtClosureList closureListA = AiShaderEvalParamClosure(p_closureA);
AtClosure closureA = closureListA.front();
while (closureA)
{
AtRGB closureWeight = closureA.weight();
closureA = closureA.next();
}
Thanks