Thanks Vincent, Vladimir. Is this in python? It still doesn't work in jscript.
On Fri, Jul 26, 2013 at 6:08 PM, Vladimir Jankijevic < [email protected]> wrote: > like this: paramOptions.SetDefaultValue( [0.5, 0.3, 0.2] ) > > > On Fri, Jul 26, 2013 at 6:05 PM, Stefano Jannuzzo < > [email protected]> wrote: > >> Hi folks. >> In a shaderdef define function, I can create a color param and set its >> default value to a mid gray by >> >> paramOptions = XSIFactory.CreateShaderParamDefOptions(); >> paramOptions.SetDefaultValue(0.5); >> params.AddParamDef("color", siShaderDataTypeColor3, paramOptions); >> >> Any idea how to set each channel independently? >> Thanks. Stefano >> >> >

