I'd like to be able to write a shader which returns a struct rather than just a single colour - along the lines of misss_fast_skin_x / mia_material_x etc.
My aim here is to then write a phenomenon for my shader which passes these various outputs into max_mrStoreElements, where I can save them with mrLabelledElement render elements in 3dsmax.
Is this possible? Is it a case of using a different signature to :
DLLEXPORT miBoolean SlideTest(miColor *result, miState *state, slideTestParas *paras)
{ ... }
Any pointers or examples would be fantastic
Many thanks from Slide.
Rob
