On 29/04/2015 at 16:00, xxxxxxxx wrote:
hi
i try to add a new gradient shader to a shader field in my user data
insertShader don`t work with the user data field
shader = c4d.BaseList2D(c4d.Xgradient)
gradient = shader[c4d.SLA_GRADIENT_GRADIENT]
gradient.InsertKnot(Value,1,0)
shader[c4d.SLA_GRADIENT_GRADIENT] = gradient
node[id].InsertShader(shader)
i