Re: Gradient shader c++

2014-04-04 Thread Stephan Woermann
pdl, shader def, > C++, ...) > > > > > Matt > > > > -Original Message- > From: softimage-boun...@listproc.autodesk.com [mailto: > softimage-boun...@listproc.autodesk.com] On Behalf Of Stephan Woermann > Sent: Friday, April 04, 2014 2:15 PM > To: sof

RE: Gradient shader c++

2014-04-04 Thread Matt Lind
...@listproc.autodesk.com] On Behalf Of Stephan Woermann Sent: Friday, April 04, 2014 2:15 PM To: softimage@listproc.autodesk.com Subject: Gradient shader c++ Hi, i try to write a shader with a gradient input. Here is a part from the code which i have made and which is working: Context ctxt( in_ctxt

Gradient shader c++

2014-04-04 Thread Stephan Woermann
Hi, i try to write a shader with a gradient input. Here is a part from the code which i have made and which is working: Context ctxt( in_ctxt ); Application app; ShaderDef sdef( ctxt.GetAttribute( L"Definition" ) ); sdef.AddShaderFamily( siShaderFamilyTexture, true ); // PARAM