Jump to content

Can we use multiple procedurals in a shader?


yongbin

Recommended Posts

I think it will be great if we can use chain of multiple procedurals. (ex. replicate, then instance)

I've tested it shortly, but had no luck. Because a shader doesn't allow more that one input for a type(in this case 'geometry' type). So, is there a method for it? Or can we around the restriction?

Thank you.

Edited by yongbin
Link to comment
Share on other sites

This comes from a much deeper level than single geometry input at shops interface. Mantra doesn't really support this kind of thing, and actually I don't know any renderer supporting hierarchical procedurals.You would have to write your own procedural shader, which isn't that hard after all, and most people with more elaborated demands end up here. Also Houdini is kind of ultimate procedural engine, and most such ideas are solvable at Sops level.

  • Like 2
Link to comment
Share on other sites

If by hierarchical you mean one procedural calling another and creating a chain, yes you can do it in Mantra.

But you have to implement it using the HDK, I believe no one of the procedurals shipped with Houdini support this.

Edited by lisux
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.

Guest
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...