Hi,
i need a custom parameter for a material for the OctaneRenderer which must
have an unused type.
The material should also render as a simple lambert/phong in MentalRay.
For an other material, it is working, only the material with the custom
parameter makes trouble.

I have build a custom parameter shader type with:
CStringArray type;
Application().RegisterShaderCustomParameterType( L"OctaneMedium", L"", L""
, 255, 255, 255, type, type);

and use it in a shader parameter definition container.
In the render tree, all ports are shown how they shall.
The new parameter is only used internal and shouldn´t affect the MentalRay
output.

Now the problem i have.
MentalRay don´t known the new parameter and gives me back an error message,
which should be logical.
Is there a way to make the parameter known or invisible, so that the error
message disappears and i can render the material with MentalRay?

Stephan

Reply via email to