14.07.2015 Views

Integrating DirectX Shaders in 3ds Max A Developer's ... - Visionday

Integrating DirectX Shaders in 3ds Max A Developer's ... - Visionday

Integrating DirectX Shaders in 3ds Max A Developer's ... - Visionday

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Extend<strong>in</strong>g the <strong>DirectX</strong> StandardMaterialBasic Implementation of GetTextureData () – full code <strong>in</strong>marble.cppif(mapOn[0]&& subTex[0]){TextureData sample1;_tcscpy(sample1.UIName, _T("MarbleCol1"));_tcscpy(sample1.SamplerName, _T("MarbleCol1"));sample1.SubMapNum = 0;list->Append(1, &sample1);}This <strong>in</strong>formation is used to create the UI for the effect file<strong>Integrat<strong>in</strong>g</strong> <strong>DirectX</strong> <strong>Shaders</strong> <strong>in</strong> <strong>3ds</strong> <strong>Max</strong>A <strong>Developer's</strong> Perspective 13© 2005 Autodesk

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!