Announcements

Between mid-October and November, the content on AREA will be relocated to the Autodesk Community M&E Hub and the Autodesk Community Gallery. Learn more HERE.

Maya api fragment graph with two maps how to assign to 2dsampler

Maya api fragment graph with two maps how to assign to 2dsampler

Anonymous
Not applicable
455 Views
1 Reply
Message 1 of 2

Maya api fragment graph with two maps how to assign to 2dsampler

Anonymous
Not applicable

Hi, 

Im writing a file texture node with two maps.

on the xml part I’m able to use both of them in the hlsl part.

but in the Cg and glsl part I need to assign them to the imagesampler.

here is the command I need to use

Maya help

But I can figure it how to use it.

In what part of the xml code I assign them.

I have map and map2 and imageSampler imageSampler2

Cheers,

Alex

 

0 Likes
456 Views
1 Reply
Reply (1)
Message 2 of 2

cheng_xi_li
Autodesk Support
Autodesk Support

Hi,

 

It is a known issue, the glsl code generated is incorrect. The second sampler will still be using the first sampler. I'll send you the defect id through salesforce later.

 

Yours,

Li

0 Likes