Hi @all,
I've created a custom Hardware Shader Node (MPxHardwareShader-derived) and I'm using MUniformParameters and MVaryingParameters as the Docs suggest.
Now I'd like to have one shader node connected to at least two different geometries - no problem so far.
Let's just construct the example: the shader produces a kind of paint. Now our two geometries shall have different ambient colors. The shader node finds changes in uniform parameters in correspondence to a geometry [MUniformParameter::hasChanged(MGeometryList &)]. What I am seeking is the correct way to tell the shape/mesh node, what color it shall have.
Has anyone already had such a problem? In this case the docs just lack further information...
P.S.: the MUniformParameter has no semantic bound