Jump to content

Mantra Procedural SHOP

Recommended Posts

Hi guys!

I'm trying to pass some params from my SHOP that provides the GUI to my procedural but I'm getting the following error:

mantra: unknown parameter 'geo_name'

mantra: unknown parameter 'width'

My procedural looks like this:

static VRAY_ProceduralArg pargs[] = {
	VRAY_ProceduralArg("geo_name", "string", ""),
	VRAY_ProceduralArg("width", "real", ""),

VRAY_Procedural *
allocProcedural(const char *)
	return new VRAY_MyProc();

const VRAY_ProceduralArg *
getProceduralArgs(const char *)
	return pargs;

and I created a new Operator Type of SHOP Type where the shader name is MyProc and the render mask is VMantra. I've also added the two parameters with the same name to the SHOP. Any clues of what might be happening? Hope I didn't miss any detail.


Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...